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.001032/0.001032, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001098/0.001098, allocations: 153.5 kB / 24.81 MB, free: 9.273 MB / 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 1.006/1.006, allocations: 173.4 MB / 201.4 MB, free: 9.207 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 2.675e-06/2.675e-06, allocations: 4 kB / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.481e-05, allocations: 2.312 kB / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006009/0.006034, allocations: 7.478 MB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.009707, allocations: 1.862 MB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.01059, allocations: 35.81 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.01107, allocations: 229.7 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.01212, allocations: 483.8 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009645/0.01308, allocations: 0.5032 MB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.01488, allocations: 1.856 MB / 280.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000592/0.01547, allocations: 420.2 kB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.01673, allocations: 0.998 MB / 282.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007018/0.01744, allocations: 0.557 MB / 282.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.01767, allocations: 176 kB / 283 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.01786, allocations: 180 kB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.01805, allocations: 366.6 kB / 283.6 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.01853, allocations: 0.5417 MB / 284.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.01957, allocations: 1.113 MB / 285.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01958, allocations: 0 / 285.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01958, allocations: 0 / 285.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.04e-05/0.01962, allocations: 3.938 kB / 285.2 MB, free: 5.285 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.002242/0.02186, allocations: 1.805 MB / 287 MB, free: 3.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.0219, allocations: 8.922 kB / 287 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.02216, allocations: 260 kB / 287.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.02289, allocations: 0.6914 MB / 288 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.02294, allocations: 94.77 kB / 288.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.02306, allocations: 128.3 kB / 288.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.02421, allocations: 1.233 MB / 289.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.02423, allocations: 0 / 289.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.0243, allocations: 59.98 kB / 289.5 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.02432, allocations: 32 kB / 289.5 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.02482, allocations: 395.1 kB / 289.9 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.129/0.1538, allocations: 4.344 MB / 294.2 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/0.1548, allocations: 0.6045 MB / 294.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.1552, allocations: 259.5 kB / 295.1 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.1552, allocations: 15.16 kB / 295.1 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1553, allocations: 54.59 kB / 295.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.306e-06/0.1553, allocations: 0.9688 kB / 295.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.003364/0.1586, allocations: 1.383 MB / 296.6 MB, free: 20.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1587, allocations: 86.11 kB / 296.6 MB, free: 20.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/0.1594, allocations: 0.6884 MB / 297.3 MB, free: 20.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.1594, allocations: 40.05 kB / 297.4 MB, free: 20.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.1598, allocations: 0.6584 MB / 298 MB, free: 20.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.16, allocations: 296 kB / 298.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.1602, allocations: 181.5 kB / 298.5 MB, free: 20.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1603, allocations: 0.5745 MB / 299.1 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1606, allocations: 110.5 kB / 299.2 MB, free: 19.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.161, allocations: 423 kB / 299.6 MB, free: 19.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.1616, allocations: 0.5799 MB / 300.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.1616, allocations: 3.094 kB / 300.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001297/0.1629, allocations: 0.8055 MB / 301 MB, free: 18.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1629, allocations: 7.688 kB / 301 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.1629, allocations: 6.469 kB / 301 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.1636, allocations: 223.2 kB / 301.2 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.1652, allocations: 0.5552 MB / 301.8 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/0.1706, allocations: 11.74 MB / 313.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.1713, allocations: 111.1 kB / 313.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.1713, allocations: 34.36 kB / 313.6 MB, free: 7.539 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.000309/0.1716, allocations: 219.3 kB / 313.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.1718, allocations: 127.7 kB / 314 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.1719, allocations: 97.06 kB / 314.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1719, allocations: 8.25 kB / 314.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.1719, allocations: 4.844 kB / 314.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1719, allocations: 5.312 kB / 314.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.1739, allocations: 1.441 MB / 315.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1739, allocations: 5.062 kB / 315.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.1742, allocations: 114.1 kB / 315.7 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008302/0.175, allocations: 397.6 kB / 316 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.1751, allocations: 20.55 kB / 316.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.1799, allocations: 11.71 MB / 327.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1799, allocations: 0 / 327.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.1814, allocations: 1.16 MB / 328.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1815, allocations: 100.6 kB / 329 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.1816, allocations: 12.06 kB / 329 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.182, allocations: 84.16 kB / 329.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.1822, allocations: 70.16 kB / 329.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.1822, allocations: 25.2 kB / 329.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003231/0.1825, allocations: 420.7 kB / 329.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1825, allocations: 0 / 329.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001201/0.1837, allocations: 369.1 kB / 330 MB, free: 10.52 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.0001685/0.1839, allocations: 126.2 kB / 330.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.1861, allocations: 1.388 MB / 331.5 MB, free: 9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1861, allocations: 4 kB / 331.5 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.187, allocations: 1.283 MB / 332.8 MB, free: 7.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008378/0.1879, allocations: 191.5 kB / 333 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.191, allocations: 2.012 MB / 335 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.1912, allocations: 205.9 kB / 335.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.1915, allocations: 98.86 kB / 335.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.192, allocations: 262.1 kB / 335.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of SimCode: time 1.253e-06/0.192, allocations: 4 kB / 335.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of Templates: time 0.02543/0.2174, allocations: 14.39 MB / 349.9 MB, free: 6.73 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.2529530548490584]