Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009589/0.0009589, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.095e-05, allocations: 2.312 kB / 273.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005865/0.005886, allocations: 7.541 MB / 281.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.009523, allocations: 1.979 MB / 283.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000681/0.0102, allocations: 35.81 kB / 283.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.01059, allocations: 229.7 kB / 283.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007313/0.01132, allocations: 475.9 kB / 283.8 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.01206, allocations: 0.511 MB / 284.3 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.01363, allocations: 1.86 MB / 286.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.0141, allocations: 432.3 kB / 286.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.01486, allocations: 0.9941 MB / 287.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.01534, allocations: 0.5608 MB / 288.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.01548, allocations: 180 kB / 288.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.01563, allocations: 180 kB / 288.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.01581, allocations: 366.7 kB / 288.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.01614, allocations: 0.5416 MB / 289.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008337/0.01697, allocations: 1.109 MB / 290.5 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01698, allocations: 0 / 290.5 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01698, allocations: 0 / 290.5 MB, free: 156 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.01699, allocations: 4 kB / 290.5 MB, free: 152 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.1082/0.1252, allocations: 1.666 MB / 292.2 MB, free: 26.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1252, allocations: 13.44 kB / 292.2 MB, free: 26.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.1255, allocations: 205.9 kB / 292.4 MB, free: 26.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.1262, allocations: 0.498 MB / 292.9 MB, free: 26.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.1262, allocations: 93.05 kB / 293 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1264, allocations: 123.8 kB / 293.1 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1276, allocations: 1.238 MB / 294.3 MB, free: 25.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1276, allocations: 1.25 kB / 294.3 MB, free: 25.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.1277, allocations: 52.47 kB / 294.4 MB, free: 25.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.1277, allocations: 33.84 kB / 294.4 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.1283, allocations: 334.7 kB / 294.7 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.1326, allocations: 3.539 MB / 298.3 MB, free: 23.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.1334, allocations: 0.5385 MB / 298.8 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.1337, allocations: 236.1 kB / 299.1 MB, free: 23.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.1338, allocations: 17.55 kB / 299.1 MB, free: 23.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1338, allocations: 52.16 kB / 299.1 MB, free: 23.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.798e-06/0.1338, allocations: 0 / 299.1 MB, free: 23.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002783/0.1366, allocations: 1.231 MB / 300.4 MB, free: 23.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1366, allocations: 90.02 kB / 300.4 MB, free: 23.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.1371, allocations: 0.6269 MB / 301.1 MB, free: 23.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.1371, allocations: 43.02 kB / 301.1 MB, free: 23.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.1377, allocations: 0.5255 MB / 301.6 MB, free: 22.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1378, allocations: 300.4 kB / 301.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.138, allocations: 172.2 kB / 302.1 MB, free: 22.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.1381, allocations: 407.6 kB / 302.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1383, allocations: 94.97 kB / 302.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1385, allocations: 326.4 kB / 302.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.1389, allocations: 0.4904 MB / 303.4 MB, free: 21.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.139, allocations: 6.469 kB / 303.4 MB, free: 21.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.000922/0.1399, allocations: 0.6465 MB / 304 MB, free: 21.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1399, allocations: 7.938 kB / 304.1 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1399, allocations: 8.281 kB / 304.1 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.1404, allocations: 205 kB / 304.3 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.1419, allocations: 0.5844 MB / 304.8 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.1454, allocations: 8.058 MB / 312.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.1458, allocations: 115.3 kB / 313 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.1459, allocations: 35.27 kB / 313.1 MB, free: 13.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.146, allocations: 175.9 kB / 313.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1462, allocations: 83.91 kB / 313.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.869e-05/0.1462, allocations: 100.1 kB / 313.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1463, allocations: 8 kB / 313.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1463, allocations: 0 / 313.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1463, allocations: 10.19 kB / 313.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.1479, allocations: 1.141 MB / 314.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1479, allocations: 0 / 314.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.1483, allocations: 147 kB / 314.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007246/0.1491, allocations: 365 kB / 315.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.1491, allocations: 20 kB / 315.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.1522, allocations: 8.05 MB / 323.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1522, allocations: 3.938 kB / 323.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1532, allocations: 0.9106 MB / 324 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1533, allocations: 95.19 kB / 324.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.1534, allocations: 20 kB / 324.2 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.1538, allocations: 83.94 kB / 324.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.1539, allocations: 64.47 kB / 324.3 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.1539, allocations: 27.98 kB / 324.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002268/0.1542, allocations: 292.5 kB / 324.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1542, allocations: 0 / 324.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001051/0.1552, allocations: 375.1 kB / 325 MB, free: 0.6641 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.1554, allocations: 108.3 kB / 325.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.1573, allocations: 1.197 MB / 326.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/0.1573, allocations: 13.25 kB / 326.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000631/0.1579, allocations: 0.9399 MB / 327.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1585, allocations: 190.5 kB / 327.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.1612, allocations: 1.959 MB / 329.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.1614, allocations: 205.9 kB / 329.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.1616, allocations: 90.95 kB / 329.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.1619, allocations: 237.2 kB / 329.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1619, allocations: 0 / 329.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of Templates: time 0.01943/0.1814, allocations: 14.49 MB / 344.4 MB, free: 13.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.0270998016931117]