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.0009048/0.0009048, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009482/0.0009482, allocations: 147.8 kB / 24.98 MB, free: 8.828 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.032/1.032, allocations: 173.4 MB / 201.5 MB, free: 9.355 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.603e-06/1.603e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.869e-05, allocations: 2.312 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006461/0.006479, allocations: 7.65 MB / 275.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.01001, allocations: 1.847 MB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006176/0.01063, allocations: 39.75 kB / 277.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.01101, allocations: 241.6 kB / 277.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007135/0.01172, allocations: 471.9 kB / 278.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.01259, allocations: 0.511 MB / 278.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.01406, allocations: 1.852 MB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.01459, allocations: 416.3 kB / 281.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009111/0.0155, allocations: 0.998 MB / 282.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.01603, allocations: 0.5531 MB / 282.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.01619, allocations: 183.9 kB / 282.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.01636, allocations: 184 kB / 283 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.01654, allocations: 362.7 kB / 283.4 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.01694, allocations: 0.5455 MB / 283.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008526/0.0178, allocations: 1.113 MB / 285 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.0178, allocations: 0 / 285 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.0178, allocations: 0 / 285 MB, free: 5.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.01781, allocations: 0 / 285 MB, free: 5.688 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.001843/0.01965, allocations: 1.786 MB / 286.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.01969, allocations: 12.92 kB / 286.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.01992, allocations: 263.9 kB / 287.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.02063, allocations: 0.6953 MB / 287.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.02068, allocations: 90.83 kB / 287.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.02079, allocations: 136.3 kB / 288 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.02208, allocations: 1.319 MB / 289.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.02209, allocations: 0 / 289.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.02216, allocations: 48 kB / 289.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.02218, allocations: 28 kB / 289.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.02296, allocations: 0.5052 MB / 289.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/0.1404, allocations: 4.318 MB / 294.2 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.1414, allocations: 0.6495 MB / 294.9 MB, free: 21.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.1418, allocations: 291.5 kB / 295.2 MB, free: 21.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.1418, allocations: 15.27 kB / 295.2 MB, free: 21.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1419, allocations: 55.11 kB / 295.2 MB, free: 21.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.276e-06/0.1419, allocations: 0 / 295.2 MB, free: 21.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.00302/0.1449, allocations: 1.463 MB / 296.7 MB, free: 21.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1449, allocations: 85.11 kB / 296.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.1455, allocations: 0.7095 MB / 297.5 MB, free: 21.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1456, allocations: 42.8 kB / 297.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.1458, allocations: 0.6546 MB / 298.2 MB, free: 20.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.146, allocations: 296.7 kB / 298.5 MB, free: 20.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1461, allocations: 171.3 kB / 298.6 MB, free: 20.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1463, allocations: 0.565 MB / 299.2 MB, free: 20 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1465, allocations: 140.6 kB / 299.3 MB, free: 20 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.1469, allocations: 453.3 kB / 299.8 MB, free: 19.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.1475, allocations: 0.6344 MB / 300.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1475, allocations: 1.375 kB / 300.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001222/0.1487, allocations: 0.8797 MB / 301.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1487, allocations: 9.641 kB / 301.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1487, allocations: 6.812 kB / 301.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/0.1493, allocations: 228 kB / 301.5 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.1506, allocations: 0.5513 MB / 302.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003822/0.1544, allocations: 11.89 MB / 314 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.1547, allocations: 113.1 kB / 314.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.1548, allocations: 42.56 kB / 314.1 MB, free: 7.426 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.0001867/0.155, allocations: 215.8 kB / 314.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1551, allocations: 119.9 kB / 314.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.1551, allocations: 102.2 kB / 314.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1551, allocations: 7.031 kB / 314.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1552, allocations: 7.25 kB / 314.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1552, allocations: 2.906 kB / 314.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.1569, allocations: 1.62 MB / 316.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1569, allocations: 0 / 316.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.1573, allocations: 119.3 kB / 316.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006706/0.1579, allocations: 390.7 kB / 316.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.158, allocations: 20.19 kB / 316.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004095/0.1621, allocations: 11.89 MB / 328.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1621, allocations: 10.38 kB / 328.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.1634, allocations: 1.224 MB / 329.8 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.1635, allocations: 109.1 kB / 330 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.1635, allocations: 19.53 kB / 330 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1638, allocations: 82.94 kB / 330.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.1639, allocations: 64.5 kB / 330.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1639, allocations: 25.38 kB / 330.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003548/0.1643, allocations: 463.9 kB / 330.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1643, allocations: 4 kB / 330.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007689/0.1651, allocations: 365.7 kB / 331 MB, free: 9.234 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.0001546/0.1652, allocations: 126.7 kB / 331.1 MB, free: 9.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.1671, allocations: 1.447 MB / 332.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1671, allocations: 4 kB / 332.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.1679, allocations: 1.307 MB / 333.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.1685, allocations: 190.1 kB / 334 MB, free: 6.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1709, allocations: 2.029 MB / 336.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.1711, allocations: 204.2 kB / 336.2 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.1713, allocations: 96.38 kB / 336.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.1714, allocations: 56.5 kB / 336.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1714, allocations: 0 / 336.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of Templates: time 0.01607/0.1875, allocations: 13.56 MB / 350 MB, free: 6.316 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.4389587049372494]