Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9873/0.9873, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.845e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004741/0.00477, allocations: 2.889 MB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.006425, allocations: 0.7323 MB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.006621, allocations: 4 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.006823, allocations: 47.5 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.007091, allocations: 111.1 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.007537, allocations: 115.7 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.008082, allocations: 406.3 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.008341, allocations: 87.66 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.008807, allocations: 227.5 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.009039, allocations: 131.6 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.009103, allocations: 40 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.009163, allocations: 39.94 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.009246, allocations: 75.73 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.009396, allocations: 123.7 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.009788, allocations: 239.1 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.009791, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009792, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.009799, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00115/0.01095, allocations: 0.6701 MB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.011, allocations: 12.03 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.01111, allocations: 52.75 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.01153, allocations: 240.9 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.01155, allocations: 16.88 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.01162, allocations: 28.38 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.0122, allocations: 275.3 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01222, allocations: 192 / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.01225, allocations: 16.38 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.01226, allocations: 7.938 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.01255, allocations: 102.9 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.01448, allocations: 0.9981 MB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.01487, allocations: 111.1 kB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.01497, allocations: 35.67 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.015, allocations: 3.984 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.01524, allocations: 146 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.01524, allocations: 0 / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003973/0.01564, allocations: 129.8 kB / 281.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.0157, allocations: 85.05 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.016, allocations: 304.2 kB / 281.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.01604, allocations: 33.7 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.0162, allocations: 238.8 kB / 281.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.01624, allocations: 43.69 kB / 281.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.01634, allocations: 55.31 kB / 281.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01651, allocations: 0.5001 MB / 282.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01663, allocations: 53.92 kB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.01683, allocations: 215.8 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.0171, allocations: 220.4 kB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.0171, allocations: 0 / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004211/0.01753, allocations: 264.6 kB / 283.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.01756, allocations: 29.7 kB / 283.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.01757, allocations: 4 kB / 283.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01759, allocations: 4 kB / 283.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.01782, allocations: 63.89 kB / 283.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01783, allocations: 4.344 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.01803, allocations: 35.88 kB / 283.2 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.01805, allocations: 15.98 kB / 283.2 MB, free: 6.863 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.01818, allocations: 180.4 kB / 283.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01823, allocations: 27.8 kB / 283.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.01828, allocations: 21.77 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01828, allocations: 4 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01829, allocations: 0 / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01829, allocations: 3.938 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.01853, allocations: 224.4 kB / 283.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.01853, allocations: 0 / 283.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.0187, allocations: 31.97 kB / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.0187, allocations: 0 / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.01873, allocations: 11.98 kB / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01873, allocations: 0 / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01873, allocations: 0 / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.01912, allocations: 180.2 kB / 283.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.01916, allocations: 19.86 kB / 283.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.0192, allocations: 11.92 kB / 283.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.01935, allocations: 20.02 kB / 283.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.01942, allocations: 19.95 kB / 284 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.01943, allocations: 4 kB / 284 MB, free: 6.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.01961, allocations: 201.1 kB / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01961, allocations: 0 / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.0199, allocations: 71.78 kB / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.02, allocations: 103.2 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.02025, allocations: 196.6 kB / 284.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.02025, allocations: 0 / 284.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.02032, allocations: 43.61 kB / 284.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.02054, allocations: 44.41 kB / 284.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.02145, allocations: 473.1 kB / 285.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.0215, allocations: 84.25 kB / 285.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.733e-05/0.02156, allocations: 26.28 kB / 285.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.02163, allocations: 28.48 kB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02163, allocations: 0 / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of Templates: time 0.005128/0.02675, allocations: 3.153 MB / 288.4 MB, free: 1.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9656287427060306]