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.001495/0.001495, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001664/0.001664, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.013/1.013, allocations: 173.4 MB / 202.3 MB, free: 8.27 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.563e-06/1.563e-06, allocations: 0 / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.637e-05, allocations: 9.266 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00705/0.007077, allocations: 7.469 MB / 276.7 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.01055, allocations: 1.862 MB / 278.6 MB, free: 400 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.01158, allocations: 35.81 kB / 278.6 MB, free: 364 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.01214, allocations: 237.7 kB / 278.8 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.01331, allocations: 483.8 kB / 279.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.01419, allocations: 0.4994 MB / 279.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.01584, allocations: 1.856 MB / 281.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.01642, allocations: 416.3 kB / 282.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.01746, allocations: 0.9941 MB / 283.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.01838, allocations: 0.5647 MB / 283.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.01858, allocations: 176 kB / 283.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.01875, allocations: 180 kB / 284 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.01893, allocations: 362.7 kB / 284.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.01941, allocations: 0.5494 MB / 284.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009388/0.02035, allocations: 1.113 MB / 286 MB, free: 8.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02036, allocations: 0 / 286 MB, free: 8.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02036, allocations: 4 kB / 286 MB, free: 8.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.02038, allocations: 0 / 286 MB, free: 8.914 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.001917/0.0223, allocations: 1.805 MB / 287.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.02233, allocations: 8.031 kB / 287.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.02258, allocations: 260 kB / 288.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.02329, allocations: 0.6914 MB / 288.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.02333, allocations: 90.83 kB / 288.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.02345, allocations: 128.3 kB / 289 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.02457, allocations: 1.237 MB / 290.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.0246, allocations: 0 / 290.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.02493, allocations: 48 kB / 290.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.02495, allocations: 35.94 kB / 290.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.02547, allocations: 391.6 kB / 290.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.0297, allocations: 4.361 MB / 295 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.0304, allocations: 0.6019 MB / 295.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.03068, allocations: 264.1 kB / 295.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.03072, allocations: 12.66 kB / 295.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.03075, allocations: 50.05 kB / 296 MB, free: 14.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 1.914e-06/0.03075, allocations: 0 / 296 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=79): time 0.002691/0.03344, allocations: 1.389 MB / 297.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.03347, allocations: 85.77 kB / 297.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.03393, allocations: 0.6941 MB / 298.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.03397, allocations: 41.7 kB / 298.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.03425, allocations: 0.6586 MB / 298.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.03439, allocations: 297.4 kB / 299.1 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.03456, allocations: 172.2 kB / 299.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.03472, allocations: 0.5741 MB / 299.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.03487, allocations: 109.9 kB / 300 MB, free: 10.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.03516, allocations: 409.7 kB / 300.4 MB, free: 9.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.03561, allocations: 0.5907 MB / 301 MB, free: 9.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.03561, allocations: 4 kB / 301 MB, free: 9.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.000923/0.03653, allocations: 0.812 MB / 301.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.03655, allocations: 8 kB / 301.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.03656, allocations: 8 kB / 301.8 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.03706, allocations: 219 kB / 302 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.03825, allocations: 0.5618 MB / 302.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/0.04433, allocations: 11.72 MB / 314.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.04491, allocations: 115.3 kB / 314.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.04494, allocations: 28 kB / 314.4 MB, free: 10.97 MB / 298.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.0003023/0.04524, allocations: 224.3 kB / 314.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.04538, allocations: 123.3 kB / 314.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.899e-05/0.04548, allocations: 100.1 kB / 314.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.04549, allocations: 8 kB / 314.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.0455, allocations: 4 kB / 314.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.04551, allocations: 7.922 kB / 314.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.04736, allocations: 1.449 MB / 316.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.04736, allocations: 0 / 316.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.04765, allocations: 115.9 kB / 316.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007177/0.04837, allocations: 389.8 kB / 316.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.0484, allocations: 15.98 kB / 316.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005779/0.05418, allocations: 11.71 MB / 328.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.05418, allocations: 4 kB / 328.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.05557, allocations: 1.147 MB / 329.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.05572, allocations: 111.2 kB / 329.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.05579, allocations: 15.94 kB / 329.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.05613, allocations: 83.94 kB / 329.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.05625, allocations: 60.55 kB / 330 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.05628, allocations: 19.98 kB / 330 MB, free: 10.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.05657, allocations: 426.8 kB / 330.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05657, allocations: 0 / 330.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001218/0.05779, allocations: 375.2 kB / 330.8 MB, free: 9.777 MB / 314.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.0001804/0.05797, allocations: 123.4 kB / 330.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.05992, allocations: 1.393 MB / 332.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.05993, allocations: 0 / 332.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.06098, allocations: 1.278 MB / 333.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.06165, allocations: 205.6 kB / 333.8 MB, free: 6.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.06447, allocations: 2.019 MB / 335.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.06464, allocations: 209.9 kB / 336 MB, free: 4.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.0649, allocations: 90.89 kB / 336.1 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.06523, allocations: 270 kB / 336.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of SimCode: time 1.783e-06/0.06524, allocations: 0 / 336.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of Templates: time 0.01848/0.08371, allocations: 14.71 MB / 351.1 MB, free: 5.461 MB / 330.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.5187780568376184]