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.001041/0.001041, 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.00108/0.00108, 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.9795/0.9795, allocations: 173.4 MB / 201.1 MB, free: 9.336 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.853e-06/1.853e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.827e-05, allocations: 6.25 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00743/0.007458, allocations: 7.661 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.01147, allocations: 1.858 MB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.01222, allocations: 35.75 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.01264, allocations: 233.7 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008394/0.01348, allocations: 479.9 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.01434, allocations: 0.4993 MB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.01606, allocations: 1.86 MB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.01666, allocations: 420.3 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.01805, allocations: 0.998 MB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.01881, allocations: 0.5531 MB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.01911, allocations: 180 kB / 282.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.01938, allocations: 180 kB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.01958, allocations: 362.7 kB / 283.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.02017, allocations: 0.5416 MB / 283.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.02153, allocations: 1.121 MB / 285 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.02153, allocations: 0 / 285 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.02154, allocations: 0 / 285 MB, free: 5.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.175e-05/0.02159, 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.002249/0.02384, allocations: 1.79 MB / 286.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.02389, allocations: 12.92 kB / 286.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.02418, allocations: 264 kB / 287 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/0.02501, allocations: 0.6953 MB / 287.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.02506, allocations: 94.81 kB / 287.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.02519, allocations: 136.2 kB / 288 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.02663, allocations: 1.311 MB / 289.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.02665, allocations: 0 / 289.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.02672, allocations: 56 kB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.02674, allocations: 28 kB / 289.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.02755, allocations: 0.5013 MB / 289.9 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/0.1472, allocations: 4.318 MB / 294.2 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1483, allocations: 0.6516 MB / 294.8 MB, free: 28.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.1488, allocations: 294.6 kB / 295.1 MB, free: 28.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.1489, allocations: 15.31 kB / 295.1 MB, free: 28.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1489, allocations: 51.98 kB / 295.2 MB, free: 28.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.216e-06/0.1489, allocations: 3.969 kB / 295.2 MB, free: 28.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.003662/0.1526, allocations: 1.45 MB / 296.6 MB, free: 28.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1526, allocations: 90.39 kB / 296.7 MB, free: 28.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.1534, allocations: 0.7173 MB / 297.4 MB, free: 27.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.1534, allocations: 42.98 kB / 297.5 MB, free: 27.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.1537, allocations: 0.6534 MB / 298.1 MB, free: 27.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1539, allocations: 288.3 kB / 298.4 MB, free: 27.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.1541, allocations: 177.3 kB / 298.6 MB, free: 26.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1543, allocations: 0.5631 MB / 299.2 MB, free: 26.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.1546, allocations: 139.9 kB / 299.3 MB, free: 26.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.155, allocations: 453.5 kB / 299.7 MB, free: 25.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.1558, allocations: 0.636 MB / 300.4 MB, free: 25.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.1558, allocations: 2.125 kB / 300.4 MB, free: 25.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001512/0.1573, allocations: 0.883 MB / 301.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1574, allocations: 8.344 kB / 301.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.1574, allocations: 6.844 kB / 301.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.158, allocations: 222.2 kB / 301.5 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.1592, allocations: 0.5493 MB / 302 MB, free: 25.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.1635, allocations: 11.89 MB / 313.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.164, allocations: 119.3 kB / 314 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.164, allocations: 40.36 kB / 314.1 MB, free: 13.48 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.0002681/0.1643, allocations: 215.5 kB / 314.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1644, allocations: 119.5 kB / 314.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.1645, allocations: 98.98 kB / 314.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1645, allocations: 8 kB / 314.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.1645, allocations: 0 / 314.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1645, allocations: 15.56 kB / 314.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1663, allocations: 1.617 MB / 316.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1663, allocations: 2.938 kB / 316.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.1666, allocations: 120.2 kB / 316.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006792/0.1673, allocations: 396.1 kB / 316.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.1673, allocations: 18.62 kB / 316.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.1713, allocations: 11.88 MB / 328.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1713, allocations: 7.984 kB / 328.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.1727, allocations: 1.218 MB / 329.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1729, allocations: 103.2 kB / 329.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.1729, allocations: 27.94 kB / 329.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.1732, allocations: 87.88 kB / 330 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.1734, allocations: 60.53 kB / 330.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.1734, allocations: 28.31 kB / 330.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004309/0.1739, allocations: 458.9 kB / 330.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1739, allocations: 0 / 330.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001103/0.175, allocations: 375.1 kB / 330.9 MB, free: 13.39 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.0001624/0.1751, allocations: 127.8 kB / 331 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.1772, allocations: 1.436 MB / 332.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1772, allocations: 1.062 kB / 332.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.178, allocations: 1.316 MB / 333.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.1787, allocations: 192.8 kB / 334 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.1817, allocations: 2.024 MB / 336 MB, free: 8.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.1819, allocations: 210.5 kB / 336.2 MB, free: 7.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.1821, allocations: 90.89 kB / 336.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1822, allocations: 56.5 kB / 336.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of SimCode: time 2.084e-06/0.1822, allocations: 0 / 336.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01761/0.1998, allocations: 13.56 MB / 349.9 MB, free: 10.4 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.534195673186332]