Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001084/0.001084, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001408/0.001408, allocations: 156.5 kB / 24.55 MB, free: 20 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.9813/0.9813, allocations: 177 MB / 204.8 MB, free: 5.574 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.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.774e-05, allocations: 2.312 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005899/0.005917, allocations: 7.803 MB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.008903, allocations: 1.804 MB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.009414, allocations: 31.81 kB / 282.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.00979, allocations: 249.5 kB / 282.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007141/0.0105, allocations: 499.8 kB / 283.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.01105, allocations: 419.5 kB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.01233, allocations: 1.86 MB / 285.6 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.01283, allocations: 420.5 kB / 286 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009309/0.01376, allocations: 0.9901 MB / 287 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.01434, allocations: 0.5724 MB / 287.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.01453, allocations: 180 kB / 287.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.01471, allocations: 180 kB / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.01488, allocations: 370.6 kB / 288.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.01526, allocations: 0.5611 MB / 288.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009919/0.01625, allocations: 1.137 MB / 290 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.01625, allocations: 0 / 290 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01625, allocations: 0 / 290 MB, free: 276 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.01627, allocations: 0 / 290 MB, free: 276 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.1096/0.1259, allocations: 1.776 MB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1259, allocations: 9.656 kB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.1263, allocations: 275.6 kB / 292 MB, free: 26.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.1272, allocations: 0.7413 MB / 292.8 MB, free: 26.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.1273, allocations: 93.7 kB / 292.9 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.1275, allocations: 136.9 kB / 293 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.129, allocations: 1.389 MB / 294.4 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1291, allocations: 4.25 kB / 294.4 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.1291, allocations: 55.78 kB / 294.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.1292, allocations: 35.72 kB / 294.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1302, allocations: 0.5128 MB / 295 MB, free: 25.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.1351, allocations: 3.739 MB / 298.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.1361, allocations: 0.6468 MB / 299.4 MB, free: 23.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.1366, allocations: 308.8 kB / 299.7 MB, free: 23.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.1367, allocations: 25.86 kB / 299.7 MB, free: 23.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1367, allocations: 53.31 kB / 299.8 MB, free: 23.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.096e-06/0.1367, allocations: 5.906 kB / 299.8 MB, free: 23.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.002837/0.1395, allocations: 1.286 MB / 301.1 MB, free: 22.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1396, allocations: 88.66 kB / 301.1 MB, free: 22.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006603/0.1402, allocations: 0.7121 MB / 301.9 MB, free: 22.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.1403, allocations: 47.2 kB / 301.9 MB, free: 22.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.1405, allocations: 0.6565 MB / 302.6 MB, free: 21.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1407, allocations: 327.8 kB / 302.9 MB, free: 21.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.1409, allocations: 180.9 kB / 303.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.141, allocations: 0.5713 MB / 303.6 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.1413, allocations: 150.1 kB / 303.8 MB, free: 20.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.1416, allocations: 423.2 kB / 304.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.1423, allocations: 0.6204 MB / 304.8 MB, free: 20.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1424, allocations: 5.438 kB / 304.8 MB, free: 20.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001706/0.1441, allocations: 1.005 MB / 305.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1441, allocations: 6.062 kB / 305.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1441, allocations: 7.438 kB / 305.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.1452, allocations: 428.8 kB / 306.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.1457, allocations: 187 kB / 306.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.1513, allocations: 12.38 MB / 318.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.1517, allocations: 115.3 kB / 318.9 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.1517, allocations: 36 kB / 319 MB, free: 6.105 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.1519, allocations: 224.4 kB / 319.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.1521, allocations: 127.4 kB / 319.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/0.1522, allocations: 117.3 kB / 319.4 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1522, allocations: 8 kB / 319.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.1522, allocations: 4 kB / 319.4 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1522, allocations: 3.984 kB / 319.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.1543, allocations: 1.662 MB / 321.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1543, allocations: 4 kB / 321.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.1547, allocations: 131.9 kB / 321.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.1558, allocations: 418.5 kB / 321.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.1558, allocations: 23.31 kB / 321.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/0.1624, allocations: 12.37 MB / 334 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1624, allocations: 0 / 334 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.1637, allocations: 1.263 MB / 335.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1638, allocations: 119 kB / 335.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.1639, allocations: 24.19 kB / 335.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.1642, allocations: 87.94 kB / 335.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.1643, allocations: 96.77 kB / 335.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.1643, allocations: 24 kB / 335.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.1647, allocations: 462.9 kB / 336.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1647, allocations: 0 / 336.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001807/0.1665, allocations: 399.1 kB / 336.5 MB, free: 3.715 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/0.1666, allocations: 135.2 kB / 336.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.1679, allocations: 1.624 MB / 338.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1679, allocations: 4 kB / 338.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008037/0.1687, allocations: 1.395 MB / 339.6 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.1693, allocations: 194.6 kB / 339.8 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.1719, allocations: 2.104 MB / 341.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1721, allocations: 226.7 kB / 342.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1724, allocations: 95.33 kB / 342.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1725, allocations: 64.5 kB / 342.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1725, allocations: 0 / 342.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Templates: time 0.01813/0.1906, allocations: 15.86 MB / 358.2 MB, free: 14.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.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.3518853499554098]