Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 148.5 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9747/0.9747, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 268.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.367e-05, allocations: 6.109 kB / 268.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002823/0.002837, allocations: 2.877 MB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009382/0.003775, allocations: 0.7242 MB / 272.2 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.003883, allocations: 7.938 kB / 272.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.003995, allocations: 39.58 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004129, allocations: 111.1 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004321, allocations: 119.7 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.004603, allocations: 402.3 kB / 272.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.004731, allocations: 86.3 kB / 272.9 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.004945, allocations: 231.4 kB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.005085, allocations: 131.6 kB / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.005123, allocations: 36 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.005156, allocations: 40 kB / 273.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.005202, allocations: 83.69 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.00528, allocations: 111.8 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.005489, allocations: 247.1 kB / 273.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.005491, allocations: 0 / 273.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005491, allocations: 0 / 273.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.005495, allocations: 0 / 273.8 MB, free: 0.6875 MB / 250.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.0005923/0.006087, allocations: 0.5415 MB / 274.3 MB, free: 116 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.006113, allocations: 15.97 kB / 274.3 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.006167, allocations: 44.89 kB / 274.4 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.006367, allocations: 186.2 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.00638, allocations: 16.88 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.00641, allocations: 24.38 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.006671, allocations: 253.6 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.006679, allocations: 192 / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.006695, allocations: 20.36 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.006702, allocations: 7.938 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.006794, allocations: 59.48 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.00757, allocations: 0.7794 MB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.007752, allocations: 98.45 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.007787, allocations: 24.86 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.007799, allocations: 0 / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.007924, allocations: 130.6 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.11e-07/0.007925, allocations: 0 / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001413/0.008066, allocations: 93.64 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.008097, allocations: 85.05 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.00822, allocations: 232.9 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.008237, allocations: 33.7 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.008306, allocations: 191.9 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.008332, allocations: 35.7 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.008383, allocations: 49.67 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.008462, allocations: 330.8 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.008507, allocations: 49.92 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.008592, allocations: 167 kB / 277.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.008711, allocations: 171.7 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.008713, allocations: 3.938 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001785/0.008892, allocations: 208.8 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.008913, allocations: 32.67 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.008917, allocations: 4 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.008929, allocations: 4 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.009095, allocations: 72.23 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.009099, allocations: 8 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.0092, allocations: 39.75 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.009213, allocations: 12 kB / 277.7 MB, free: 12.36 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 7.069e-05/0.009283, allocations: 125.1 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.009303, allocations: 23.97 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.009332, allocations: 21.77 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009334, allocations: 4 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009336, allocations: 0 / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.009338, allocations: 3.938 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.009442, allocations: 149.7 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009443, allocations: 0 / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.009548, allocations: 43.89 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.00955, allocations: 0 / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.00956, allocations: 8 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.009561, allocations: 0 / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009562, allocations: 0 / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.009713, allocations: 129 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.009735, allocations: 19.84 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.009761, allocations: 11.97 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.009832, allocations: 19.98 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.009873, allocations: 15.97 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.009879, allocations: 4 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.158e-05/0.009931, allocations: 74.78 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009931, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.01008, allocations: 67.84 kB / 278.4 MB, free: 11.61 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 6.356e-05/0.01014, allocations: 88.34 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.0103, allocations: 169.8 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.0103, allocations: 8 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.01035, allocations: 33.33 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.01048, allocations: 53.3 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.01113, allocations: 489 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.01117, allocations: 76.33 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.01124, allocations: 30.28 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.01136, allocations: 91.34 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01136, allocations: 0 / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.004577/0.01593, allocations: 3.276 MB / 282.7 MB, free: 7.297 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,der_.c.v,der_.opAmp.out.v,der_.opAmp.out.i Variables in the result:Vin,der_.C,der_.R,der_.V0,der_.Vns,der_.Vps,der_.c.C,der_.c.v,der_.f,der_.i1,der_.k,der_.opAmp.V0,der_.opAmp.Vns,der_.opAmp.Vps,der_.opAmp.homotopyType,der_.opAmp.out.i,der_.opAmp.out.v,der_.opAmp.strict,der_.opAmp.useSupply,der_.r.R,der_.r.T,der_.r.T_ref,der_.r.alpha,der_.v2,f,time,vIn.V,vIn.falling,vIn.nperiod,vIn.offset,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.startTime,vIn.width filterSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff.mat", vars={"der_.opAmp.out.i", "der_.opAmp.out.v", "der_.c.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff.ref.mat", vars={"der_.opAmp.out.i", "der_.opAmp.out.v", "der_.c.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6349336528219283]