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.0009231/0.0009231, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001629/0.001629, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9456/0.9456, allocations: 177 MB / 205.2 MB, free: 5.043 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.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.988e-05, allocations: 2.312 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008834/0.008864, allocations: 7.614 MB / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.01383, allocations: 1.885 MB / 282.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.01532, allocations: 35.75 kB / 283 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.01614, allocations: 245.6 kB / 283.2 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.01779, allocations: 0.492 MB / 283.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.01878, allocations: 423.4 kB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.02137, allocations: 1.852 MB / 286 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.02212, allocations: 428.5 kB / 286.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.02351, allocations: 0.9978 MB / 287.4 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008727/0.02438, allocations: 0.5725 MB / 288 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.02472, allocations: 191.9 kB / 288.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.02495, allocations: 180 kB / 288.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.02519, allocations: 378.5 kB / 288.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007874/0.02598, allocations: 0.5494 MB / 289.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1111/0.1371, allocations: 1.128 MB / 290.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1371, allocations: 0.9844 kB / 290.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1371, allocations: 0 / 290.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.003e-05/0.1371, allocations: 0 / 290.4 MB, free: 18.52 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00196/0.1391, allocations: 1.664 MB / 292 MB, free: 17.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1391, allocations: 9.484 kB / 292 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.1394, allocations: 216.7 kB / 292.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.1402, allocations: 0.5322 MB / 292.8 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.1402, allocations: 98.86 kB / 292.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1403, allocations: 134 kB / 293 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1415, allocations: 1.33 MB / 294.3 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.1415, allocations: 3.938 kB / 294.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.1415, allocations: 55.97 kB / 294.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.1416, allocations: 30.16 kB / 294.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.1421, allocations: 336.6 kB / 294.8 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.1461, allocations: 3.162 MB / 297.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.1468, allocations: 0.5328 MB / 298.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.1471, allocations: 248.7 kB / 298.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.1471, allocations: 24.28 kB / 298.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1471, allocations: 55.94 kB / 298.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.046e-06/0.1471, allocations: 0 / 298.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.00191/0.1491, allocations: 1.032 MB / 299.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.1491, allocations: 92.06 kB / 299.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.1496, allocations: 0.626 MB / 300.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1496, allocations: 45.08 kB / 300.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.1498, allocations: 0.5236 MB / 301.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.15, allocations: 328 kB / 301.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.1501, allocations: 183.7 kB / 301.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.1502, allocations: 418.3 kB / 302 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1504, allocations: 102.5 kB / 302.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1506, allocations: 307.8 kB / 302.4 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.151, allocations: 0.5083 MB / 302.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.151, allocations: 1.438 kB / 302.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001056/0.152, allocations: 0.7335 MB / 303.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1521, allocations: 10.52 kB / 303.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1521, allocations: 5.062 kB / 303.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.1532, allocations: 392.5 kB / 304 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.1536, allocations: 187.5 kB / 304.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.1579, allocations: 8.452 MB / 312.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.1586, allocations: 107.7 kB / 312.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.1587, allocations: 28.53 kB / 312.8 MB, free: 6.137 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.0004161/0.1591, allocations: 181 kB / 313 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1592, allocations: 98.45 kB / 313.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1594, allocations: 105.1 kB / 313.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1594, allocations: 9.25 kB / 313.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/0.1594, allocations: 3.344 kB / 313.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1594, allocations: 6.234 kB / 313.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.1613, allocations: 1.173 MB / 314.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1614, allocations: 0 / 314.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.1616, allocations: 118.8 kB / 314.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008877/0.1625, allocations: 385.4 kB / 314.9 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.1626, allocations: 16.94 kB / 314.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.1659, allocations: 8.427 MB / 323.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1659, allocations: 0 / 323.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.167, allocations: 0.9405 MB / 324.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.1672, allocations: 91.2 kB / 324.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.1673, allocations: 17.56 kB / 324.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.1675, allocations: 84.5 kB / 324.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1677, allocations: 95.64 kB / 324.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.1677, allocations: 29.62 kB / 324.6 MB, free: 11.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1679, allocations: 300.8 kB / 324.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1679, allocations: 0 / 324.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00123/0.1692, allocations: 401.9 kB / 325.2 MB, free: 10.82 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.0001582/0.1693, allocations: 121.1 kB / 325.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1704, allocations: 1.216 MB / 326.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.047e-05/0.1704, allocations: 13.5 kB / 326.6 MB, free: 9.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006385/0.171, allocations: 1.018 MB / 327.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.1716, allocations: 201.8 kB / 327.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.1743, allocations: 2.026 MB / 329.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.1745, allocations: 222.7 kB / 330.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.1748, allocations: 95.33 kB / 330.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.1751, allocations: 249.2 kB / 330.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1751, allocations: 0 / 330.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of Templates: time 0.02022/0.1953, allocations: 16.12 MB / 346.5 MB, free: 5.906 MB / 298.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.148352725431323]