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.0009106/0.0009106, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001142/0.001142, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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 0.9673/0.9673, allocations: 177 MB / 204.8 MB, free: 5.578 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.372e-06/1.372e-06, allocations: 0 / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.664e-05, allocations: 6.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003847/0.003863, allocations: 2.903 MB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.005458, allocations: 0.7088 MB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.005665, allocations: 8 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.005871, allocations: 47.52 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.006181, allocations: 111.1 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.006537, allocations: 95.81 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.00703, allocations: 398.2 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.007263, allocations: 91.64 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.007706, allocations: 231.4 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.007945, allocations: 139.6 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/0.008018, allocations: 36 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.008086, allocations: 44 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.008163, allocations: 75.69 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.008307, allocations: 115.8 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.008702, allocations: 247.1 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.008705, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.008705, allocations: 3.938 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.008714, allocations: 0 / 278.2 MB, free: 12.14 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.001112/0.009826, allocations: 0.673 MB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.009876, allocations: 11.98 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.01001, allocations: 60.69 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.01041, allocations: 236 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.01044, allocations: 20.88 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.0105, allocations: 24.38 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.011, allocations: 260.7 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01102, allocations: 192 / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.01105, allocations: 12.38 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.01106, allocations: 11.94 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.01135, allocations: 98.94 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.01299, allocations: 0.9545 MB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.01337, allocations: 115 kB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.01347, allocations: 43.72 kB / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.0135, allocations: 7.984 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.01377, allocations: 179.4 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.01377, allocations: 0 / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.000734/0.0145, allocations: 225.1 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.01456, allocations: 102.8 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.01485, allocations: 300.2 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.01488, allocations: 33.7 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.01504, allocations: 238.8 kB / 281.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.01509, allocations: 51.62 kB / 281.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.01518, allocations: 59.55 kB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.01534, allocations: 0.5078 MB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.01545, allocations: 65.78 kB / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.01565, allocations: 245.5 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.01591, allocations: 206.2 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.01591, allocations: 3.984 kB / 282.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005336/0.01645, allocations: 295.4 kB / 283.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.01649, allocations: 37.69 kB / 283.2 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01649, allocations: 4 kB / 283.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.01681, allocations: 59.89 kB / 283.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.017, allocations: 51.91 kB / 283.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.01832, allocations: 1.851 MB / 285.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.01851, allocations: 35.91 kB / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.01854, allocations: 16 kB / 285.2 MB, free: 4.52 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 0.0001479/0.01868, allocations: 180.4 kB / 285.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.01873, allocations: 27.86 kB / 285.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.01878, allocations: 21.78 kB / 285.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01878, allocations: 4 kB / 285.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01879, allocations: 3.984 kB / 285.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01879, allocations: 0 / 285.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.01902, allocations: 216.6 kB / 285.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.01903, allocations: 8 kB / 285.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.01916, allocations: 27.91 kB / 285.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.01938, allocations: 55.62 kB / 285.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.0194, allocations: 4 kB / 285.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.02067, allocations: 1.847 MB / 287.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02067, allocations: 0 / 287.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.02113, allocations: 230.7 kB / 287.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.02117, allocations: 23.84 kB / 287.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.02121, allocations: 11.94 kB / 287.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.02134, allocations: 15.98 kB / 287.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.02143, allocations: 23.95 kB / 287.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.02145, allocations: 8 kB / 287.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.02163, allocations: 209.2 kB / 288.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02163, allocations: 0 / 288.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.02198, allocations: 79.83 kB / 288.2 MB, free: 1.336 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 0.0001235/0.0221, allocations: 111 kB / 288.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.02261, allocations: 378 kB / 288.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.02262, allocations: 4 kB / 288.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.02285, allocations: 241.4 kB / 288.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.02314, allocations: 48.34 kB / 288.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.02462, allocations: 0.5488 MB / 289.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.02467, allocations: 92.11 kB / 289.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.556e-05/0.02476, allocations: 22.28 kB / 289.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.02482, allocations: 28.48 kB / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02482, allocations: 0 / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.005835/0.03066, allocations: 4.03 MB / 293.7 MB, free: 11.8 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: 3.0300678466446698]