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.001835/0.001835, allocations: 124.3 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002224/0.002224, allocations: 203.3 kB / 20.74 MB, free: 2.281 MB / 14.72 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 1.62/1.62, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001604/0.001604, allocations: 55.92 kB / 373.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 53.33 MB / 426.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004849/0.1194, allocations: 2.88 MB / 429.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1212, allocations: 0.7595 MB / 430.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1214, allocations: 4 kB / 430.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1216, allocations: 51.5 kB / 430.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1218, allocations: 95.25 kB / 430.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1222, allocations: 123.8 kB / 430.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.1227, allocations: 382.6 kB / 431.1 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2149/0.3376, allocations: 89.3 kB / 431.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.3381, allocations: 155.9 kB / 431.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.3383, allocations: 166.2 kB / 431.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.3384, allocations: 38.25 kB / 431.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.3384, allocations: 37.88 kB / 431.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.3385, allocations: 78.56 kB / 431.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.3387, allocations: 167.2 kB / 431.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.3391, allocations: 427.6 kB / 432.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3391, allocations: 2.062 kB / 432.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3391, allocations: 2.406 kB / 432.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3392, allocations: 3.938 kB / 432.3 MB, free: 8.043 MB / 350.1 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.001246/0.3404, allocations: 0.6621 MB / 432.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3404, allocations: 10.31 kB / 432.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.3405, allocations: 37.08 kB / 433 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3408, allocations: 287.9 kB / 433.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3408, allocations: 20.97 kB / 433.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.3409, allocations: 26.84 kB / 433.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.3415, allocations: 314.1 kB / 433.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3415, allocations: 5.219 kB / 433.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.3416, allocations: 9.531 kB / 433.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3416, allocations: 7.453 kB / 433.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.3423, allocations: 277.5 kB / 433.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.344, allocations: 1.108 MB / 435 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.3449, allocations: 241 kB / 435.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.3452, allocations: 95.38 kB / 435.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3453, allocations: 2.094 kB / 435.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.3457, allocations: 180.8 kB / 435.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3457, allocations: 0 / 435.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001114/0.3468, allocations: 312.5 kB / 435.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3469, allocations: 80.22 kB / 435.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.3471, allocations: 267.6 kB / 436.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3471, allocations: 33.83 kB / 436.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.3472, allocations: 206.6 kB / 436.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3473, allocations: 42.02 kB / 436.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.3474, allocations: 49.66 kB / 436.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.3474, allocations: 337 kB / 436.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.3478, allocations: 99.7 kB / 436.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.3482, allocations: 194.1 kB / 437.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.3489, allocations: 301.2 kB / 437.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3489, allocations: 3.094 kB / 437.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008983/0.3498, allocations: 364.3 kB / 437.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.3498, allocations: 35.34 kB / 437.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3498, allocations: 2.625 kB / 437.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3499, allocations: 4.812 kB / 437.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3502, allocations: 63.77 kB / 437.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3502, allocations: 11.56 kB / 437.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.3505, allocations: 50.81 kB / 437.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3505, allocations: 13.84 kB / 437.9 MB, free: 5.469 MB / 350.1 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.0001184/0.3506, allocations: 148.8 kB / 438.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3507, allocations: 22.02 kB / 438.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.3507, allocations: 26.38 kB / 438.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3507, allocations: 6.203 kB / 438.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3508, allocations: 0.9844 kB / 438.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3508, allocations: 2.016 kB / 438.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.351, allocations: 316 kB / 438.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.351, allocations: 0 / 438.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3513, allocations: 49.28 kB / 438.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3513, allocations: 0 / 438.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.3513, allocations: 5.234 kB / 438.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3513, allocations: 2.656 kB / 438.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3513, allocations: 4 kB / 438.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3525, allocations: 372.4 kB / 438.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.3525, allocations: 98.61 kB / 439 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.3526, allocations: 5.516 kB / 439 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3528, allocations: 30.86 kB / 439 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.3529, allocations: 21.66 kB / 439 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3529, allocations: 3.125 kB / 439 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.3531, allocations: 194.8 kB / 439.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3531, allocations: 0 / 439.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.3534, allocations: 62.58 kB / 439.3 MB, free: 4.809 MB / 350.1 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.0001155/0.3535, allocations: 111 kB / 439.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008333/0.3544, allocations: 288.6 kB / 439.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3544, allocations: 0 / 439.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.3547, allocations: 104.4 kB / 439.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.355, allocations: 43.88 kB / 439.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3562, allocations: 0.5328 MB / 440.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3564, allocations: 0.75 MB / 441.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3565, allocations: 24.64 kB / 441.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.3566, allocations: 24.08 kB / 441.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3566, allocations: 0.9062 kB / 441.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of Templates: time 0.008672/0.3653, allocations: 3.069 MB / 444.2 MB, free: 3.348 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.865590319037437]