Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009667/0.0009667, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009638/0.0009638, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.082/1.082, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.483e-05, allocations: 5.266 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003293/0.003318, allocations: 2.869 MB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004529, allocations: 0.7011 MB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.00471, allocations: 7.938 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.004862, allocations: 47.56 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.005059, allocations: 111.1 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.005315, allocations: 99.75 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.005667, allocations: 398.3 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.005837, allocations: 91.59 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.006163, allocations: 227.5 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.006314, allocations: 135.6 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.006355, allocations: 36 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.811e-05/0.006393, allocations: 40 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.006441, allocations: 87.67 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.006526, allocations: 119.7 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.006774, allocations: 247.1 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006776, allocations: 0 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.006777, allocations: 0 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.006781, allocations: 0 / 278.6 MB, free: 11.96 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007091/0.00749, allocations: 0.6768 MB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.007525, allocations: 11.98 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.007593, allocations: 60.69 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.007821, allocations: 228.1 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007839, allocations: 20.88 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.007873, allocations: 24.38 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.008144, allocations: 240.7 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008152, allocations: 192 / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.008171, allocations: 20.36 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.008179, allocations: 7.938 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.008286, allocations: 75.42 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009979/0.009284, allocations: 0.9699 MB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.009481, allocations: 107 kB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.009523, allocations: 39.72 kB / 281 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.009543, allocations: 7.984 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.009712, allocations: 179.4 kB / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.009713, allocations: 0 / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004223/0.01014, allocations: 212 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.01018, allocations: 106.8 kB / 281.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01034, allocations: 296.1 kB / 281.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01036, allocations: 29.7 kB / 281.8 MB, free: 8.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.01046, allocations: 250.7 kB / 282.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.01049, allocations: 47.62 kB / 282.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.01055, allocations: 59.53 kB / 282.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01067, allocations: 0.5078 MB / 282.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.01073, allocations: 53.91 kB / 282.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.01084, allocations: 237.4 kB / 283 MB, free: 7.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01099, allocations: 204.9 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01099, allocations: 32 / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002983/0.01129, allocations: 279.5 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.01132, allocations: 33.69 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01132, allocations: 4 kB / 283.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.01152, allocations: 63.89 kB / 283.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01163, allocations: 47.91 kB / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008811/0.01251, allocations: 1.828 MB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01264, allocations: 35.91 kB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01266, allocations: 12 kB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$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): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.01275, allocations: 172.5 kB / 285.6 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.01278, allocations: 31.8 kB / 285.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.0128, allocations: 29.77 kB / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01281, allocations: 0 / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01281, allocations: 0 / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01281, allocations: 3.984 kB / 285.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.01294, allocations: 181.1 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01294, allocations: 4 kB / 285.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.01302, allocations: 23.98 kB / 285.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.01316, allocations: 59.56 kB / 286 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.01317, allocations: 0 / 286 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008081/0.01397, allocations: 1.828 MB / 287.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01398, allocations: 0 / 287.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.01424, allocations: 215.8 kB / 288 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.01426, allocations: 23.8 kB / 288 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01428, allocations: 8 kB / 288 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.01436, allocations: 19.97 kB / 288 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.01441, allocations: 15.97 kB / 288.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01442, allocations: 11.94 kB / 288.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.01452, allocations: 201.1 kB / 288.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01452, allocations: 3.938 kB / 288.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.01474, allocations: 75.84 kB / 288.4 MB, free: 1.383 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 8.786e-05/0.01483, allocations: 99.25 kB / 288.4 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.01513, allocations: 373.3 kB / 288.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01513, allocations: 0 / 288.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.01527, allocations: 237.4 kB / 289 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.01547, allocations: 52.52 kB / 289.1 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.01653, allocations: 0.5418 MB / 289.6 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.01659, allocations: 88.17 kB / 289.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.01667, allocations: 30.27 kB / 289.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.0168, allocations: 122.2 kB / 289.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0168, allocations: 0 / 289.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.005912/0.02271, allocations: 4.326 MB / 294.2 MB, free: 11.49 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.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.9840373219922185]