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.001471/0.001471, 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.001798/0.001798, 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.9975/0.9975, allocations: 177 MB / 205.2 MB, free: 5.035 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.563e-06/1.563e-06, allocations: 0 / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.571e-05, allocations: 5.125 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006394/0.006419, allocations: 7.646 MB / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.01025, allocations: 1.885 MB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008738/0.01112, allocations: 35.81 kB / 283.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.01161, allocations: 241.6 kB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009469/0.01256, allocations: 0.4919 MB / 283.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.01322, allocations: 423.4 kB / 284.2 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.01472, allocations: 1.856 MB / 286.1 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.01525, allocations: 428.5 kB / 286.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.01627, allocations: 0.994 MB / 287.5 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.01691, allocations: 0.5764 MB / 288 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.01711, allocations: 180 kB / 288.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.0173, allocations: 184 kB / 288.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.01747, allocations: 374.6 kB / 288.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.01791, allocations: 0.5572 MB / 289.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1104/0.1283, allocations: 1.127 MB / 290.4 MB, free: 19.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1283, allocations: 0 / 290.4 MB, free: 19.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1283, allocations: 0 / 290.4 MB, free: 19.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.776e-05/0.1284, allocations: 2.062 kB / 290.4 MB, free: 19.03 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.001948/0.1303, allocations: 1.665 MB / 292.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1303, allocations: 10.47 kB / 292.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.1306, allocations: 215.9 kB / 292.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.1313, allocations: 0.53 MB / 292.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.1314, allocations: 97.77 kB / 293 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.1315, allocations: 135.4 kB / 293.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1327, allocations: 1.333 MB / 294.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.1327, allocations: 4.5 kB / 294.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.1327, allocations: 54.95 kB / 294.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.1328, allocations: 31.09 kB / 294.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.1333, allocations: 334.9 kB / 294.8 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.1372, allocations: 3.161 MB / 298 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.1378, allocations: 0.5412 MB / 298.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1381, allocations: 253.5 kB / 298.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.1382, allocations: 18.28 kB / 298.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1382, allocations: 49.83 kB / 298.9 MB, free: 16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.394e-06/0.1382, allocations: 0 / 298.9 MB, free: 16 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.001936/0.1402, allocations: 1.038 MB / 299.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.1402, allocations: 88.2 kB / 300 MB, free: 15.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.1407, allocations: 0.6273 MB / 300.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.1407, allocations: 48.67 kB / 300.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1409, allocations: 0.5185 MB / 301.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.1411, allocations: 334.3 kB / 301.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1412, allocations: 184 kB / 301.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.1413, allocations: 419.4 kB / 302.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1415, allocations: 103.7 kB / 302.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1417, allocations: 309.7 kB / 302.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1421, allocations: 0.4974 MB / 303 MB, free: 14.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.1421, allocations: 5.219 kB / 303 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0009281/0.143, allocations: 0.734 MB / 303.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.143, allocations: 11.12 kB / 303.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1431, allocations: 5 kB / 303.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008146/0.1439, allocations: 390.2 kB / 304.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.1443, allocations: 230.5 kB / 304.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.1476, allocations: 8.442 MB / 312.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.148, allocations: 107.3 kB / 312.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.148, allocations: 33.72 kB / 312.9 MB, free: 6.66 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.0002067/0.1482, allocations: 182.1 kB / 313.1 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1483, allocations: 94.8 kB / 313.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.1484, allocations: 108.7 kB / 313.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1484, allocations: 10.25 kB / 313.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.1484, allocations: 0 / 313.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1484, allocations: 6.609 kB / 313.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.1498, allocations: 1.174 MB / 314.5 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1498, allocations: 4 kB / 314.5 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.1501, allocations: 138.9 kB / 314.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007039/0.1508, allocations: 390.2 kB / 315 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.1509, allocations: 18.75 kB / 315 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.1542, allocations: 8.429 MB / 323.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1542, allocations: 3.375 kB / 323.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.1551, allocations: 0.9368 MB / 324.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1552, allocations: 95.23 kB / 324.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.1553, allocations: 27.09 kB / 324.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.1556, allocations: 83.88 kB / 324.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.1557, allocations: 92.83 kB / 324.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1557, allocations: 20 kB / 324.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.156, allocations: 301.9 kB / 325 MB, free: 11.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.156, allocations: 4 kB / 325 MB, free: 11.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009526/0.1569, allocations: 403.1 kB / 325.4 MB, free: 10.98 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.0001406/0.1571, allocations: 113.4 kB / 325.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1581, allocations: 1.216 MB / 326.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/0.1581, allocations: 17.5 kB / 326.8 MB, free: 9.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.1587, allocations: 1.027 MB / 327.8 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.1592, allocations: 191.2 kB / 328 MB, free: 8.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.1618, allocations: 2.034 MB / 330 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.1619, allocations: 226.7 kB / 330.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.1622, allocations: 95.41 kB / 330.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.1626, allocations: 261.2 kB / 330.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1626, allocations: 3.562 kB / 330.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Templates: time 0.02218/0.1847, allocations: 16.31 MB / 346.9 MB, free: 5.734 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 -s gbode -gbm=radauIIA3 -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.206337220966816]