Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9774/0.9774, allocations: 173.4 MB / 201.2 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.599e-05, allocations: 5.969 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006291/0.006317, allocations: 7.669 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.01039, allocations: 1.854 MB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.01146, allocations: 35.81 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.01204, allocations: 233.7 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.01319, allocations: 479.9 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.01422, allocations: 0.5032 MB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.01607, allocations: 1.856 MB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.01669, allocations: 420.3 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.01793, allocations: 0.9941 MB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.01865, allocations: 0.5569 MB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.01896, allocations: 180 kB / 282.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.01919, allocations: 180 kB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.01938, allocations: 358.7 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.01991, allocations: 0.5494 MB / 283.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.02095, allocations: 1.117 MB / 285 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.02096, allocations: 4 kB / 285 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02096, allocations: 0 / 285 MB, free: 5.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.021, allocations: 0 / 285 MB, free: 5.355 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002171/0.02317, allocations: 1.786 MB / 286.8 MB, free: 3.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.02321, allocations: 12.92 kB / 286.8 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.0235, allocations: 260 kB / 287 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.02437, allocations: 0.6953 MB / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.02443, allocations: 90.83 kB / 287.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.02455, allocations: 132.3 kB / 288 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.0262, allocations: 1.315 MB / 289.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.02623, allocations: 0 / 289.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.02632, allocations: 55.94 kB / 289.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.02634, allocations: 28 kB / 289.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.02738, allocations: 0.5052 MB / 289.9 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/0.1471, allocations: 4.317 MB / 294.2 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000965/0.1481, allocations: 0.6532 MB / 294.8 MB, free: 28.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.1485, allocations: 296.7 kB / 295.1 MB, free: 28.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.1485, allocations: 15.36 kB / 295.1 MB, free: 28.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1486, allocations: 48.7 kB / 295.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.036e-06/0.1486, allocations: 0 / 295.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002875/0.1515, allocations: 1.458 MB / 296.6 MB, free: 28.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1515, allocations: 86.33 kB / 296.7 MB, free: 28.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.1521, allocations: 0.7175 MB / 297.4 MB, free: 27.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1522, allocations: 38.95 kB / 297.5 MB, free: 27.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.1524, allocations: 0.6522 MB / 298.1 MB, free: 27.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1526, allocations: 293 kB / 298.4 MB, free: 27.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.1528, allocations: 177 kB / 298.6 MB, free: 26.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1529, allocations: 0.5668 MB / 299.2 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.1532, allocations: 138.5 kB / 299.3 MB, free: 26.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.1535, allocations: 456.6 kB / 299.7 MB, free: 25.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.1541, allocations: 0.6328 MB / 300.4 MB, free: 25.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.1541, allocations: 3.422 kB / 300.4 MB, free: 25.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001207/0.1553, allocations: 0.8824 MB / 301.3 MB, free: 25.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.1553, allocations: 7.156 kB / 301.3 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.1553, allocations: 7.469 kB / 301.3 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006611/0.156, allocations: 221 kB / 301.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.1573, allocations: 0.554 MB / 302 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.1616, allocations: 11.89 MB / 313.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.1621, allocations: 122.8 kB / 314.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1621, allocations: 38.72 kB / 314.1 MB, free: 13.5 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.0002591/0.1624, allocations: 214.1 kB / 314.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.1625, allocations: 121.5 kB / 314.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.1625, allocations: 100.7 kB / 314.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1626, allocations: 8.062 kB / 314.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.1626, allocations: 0 / 314.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1626, allocations: 13.38 kB / 314.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.1644, allocations: 1.612 MB / 316.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1644, allocations: 0 / 316.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1647, allocations: 120 kB / 316.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007264/0.1654, allocations: 404.6 kB / 316.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.1655, allocations: 19.61 kB / 316.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.1693, allocations: 11.89 MB / 328.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1693, allocations: 3.984 kB / 328.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1709, allocations: 1.233 MB / 329.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.171, allocations: 103.2 kB / 329.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.1711, allocations: 16 kB / 329.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.1714, allocations: 83.88 kB / 330 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.1715, allocations: 64.53 kB / 330.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.1716, allocations: 24 kB / 330.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005463/0.1721, allocations: 470.9 kB / 330.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1721, allocations: 0 / 330.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001551/0.1737, allocations: 371.1 kB / 330.9 MB, free: 13.41 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: 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.0002235/0.1739, allocations: 123.1 kB / 331 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.1762, allocations: 1.442 MB / 332.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1763, allocations: 0 / 332.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007851/0.177, allocations: 1.317 MB / 333.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1777, allocations: 186.2 kB / 334 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.1806, allocations: 2.022 MB / 336 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.1808, allocations: 205.8 kB / 336.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.1811, allocations: 98.88 kB / 336.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1812, allocations: 56.5 kB / 336.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1812, allocations: 0 / 336.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of Templates: time 0.01769/0.1989, allocations: 14.13 MB / 350.5 MB, free: 9.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.229202728718519]