Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009968/0.0009968, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009544/0.001951, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007034/0.0007034, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000876/0.001579, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9492/0.9492, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08503/1.034, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.183e-05, allocations: 2.312 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01018/0.0102, allocations: 7.709 MB / 252.8 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.01354, allocations: 1.889 MB / 254.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.0139, allocations: 39.75 kB / 254.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.01418, allocations: 245.5 kB / 254.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.01472, allocations: 499.8 kB / 255.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.01515, allocations: 427.3 kB / 255.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.01619, allocations: 1.852 MB / 257.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.01661, allocations: 428.5 kB / 258.1 MB, free: 468 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.01748, allocations: 1.123 MB / 259.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.01789, allocations: 0.5647 MB / 259.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.01802, allocations: 180 kB / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.01816, allocations: 184 kB / 260.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.01831, allocations: 279.1 kB / 260.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.01863, allocations: 467.1 kB / 260.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007748/0.01941, allocations: 1.055 MB / 261.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.01941, allocations: 4 kB / 261.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01942, allocations: 0 / 261.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.01943, allocations: 0 / 261.9 MB, free: 12.6 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001411/0.02084, allocations: 1.965 MB / 263.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.919e-05/0.02086, allocations: 8.625 kB / 263.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.02102, allocations: 216.8 kB / 264.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.02167, allocations: 0.5324 MB / 264.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.02171, allocations: 98.95 kB / 264.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.02182, allocations: 131.9 kB / 264.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.02262, allocations: 1.333 MB / 266.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.02264, allocations: 4 kB / 266.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.02269, allocations: 52 kB / 266.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.02272, allocations: 32 kB / 266.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.0231, allocations: 332.9 kB / 266.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.02613, allocations: 3.186 MB / 269.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.02663, allocations: 0.5455 MB / 270.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.02688, allocations: 243.6 kB / 270.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.02691, allocations: 17 kB / 270.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.02693, allocations: 51.55 kB / 270.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 1.814e-06/0.02694, allocations: 0 / 270.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.001939/0.02887, allocations: 1.045 MB / 271.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.02891, allocations: 86.11 kB / 271.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.02938, allocations: 0.6286 MB / 272.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.02945, allocations: 45.7 kB / 272.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.02968, allocations: 0.5253 MB / 273 MB, free: 1.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.02985, allocations: 333.1 kB / 273.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.03, allocations: 182.8 kB / 273.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.03013, allocations: 414.5 kB / 273.9 MB, free: 156 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.03025, allocations: 94.58 kB / 274 MB, free: 60 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.03046, allocations: 310.5 kB / 274.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.03084, allocations: 0.4999 MB / 274.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.03085, allocations: 0 / 274.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008866/0.03173, allocations: 0.7421 MB / 275.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.03175, allocations: 8 kB / 275.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.03176, allocations: 4 kB / 275.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.03257, allocations: 396.8 kB / 275.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.03302, allocations: 227.7 kB / 276.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.0375, allocations: 8.469 MB / 284.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.03796, allocations: 111.2 kB / 284.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.038, allocations: 28 kB / 284.8 MB, free: 4.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.03826, allocations: 173.6 kB / 284.9 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.03838, allocations: 99.84 kB / 285 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.323e-05/0.03847, allocations: 113.4 kB / 285.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.03848, allocations: 8 kB / 285.2 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.03849, allocations: 3.938 kB / 285.2 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.0385, allocations: 11.92 kB / 285.2 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.03993, allocations: 1.161 MB / 286.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.03993, allocations: 0 / 286.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.04026, allocations: 163.8 kB / 286.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.04036, allocations: 91.2 kB / 286.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/0.04111, allocations: 384.7 kB / 287 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.04114, allocations: 16 kB / 287 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1187/0.1599, allocations: 8.397 MB / 295.4 MB, free: 21.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1599, allocations: 1.344 kB / 295.4 MB, free: 21.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.1611, allocations: 0.9397 MB / 296.3 MB, free: 20.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.1613, allocations: 17.83 kB / 296.3 MB, free: 20.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.1616, allocations: 83.56 kB / 296.4 MB, free: 20.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.1618, allocations: 94.02 kB / 296.5 MB, free: 20.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.1618, allocations: 22.41 kB / 296.5 MB, free: 20.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.1621, allocations: 299.5 kB / 296.8 MB, free: 20.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1621, allocations: 0.9375 kB / 296.8 MB, free: 20.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00106/0.1632, allocations: 401.3 kB / 297.2 MB, free: 20.84 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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.1633, allocations: 119.2 kB / 297.3 MB, free: 20.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.1646, allocations: 1.211 MB / 298.5 MB, free: 20.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.376e-05/0.1646, allocations: 17.5 kB / 298.5 MB, free: 20.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.1652, allocations: 1.028 MB / 299.6 MB, free: 19.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.1659, allocations: 277.2 kB / 299.8 MB, free: 19.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.1723, allocations: 2.137 MB / 302 MB, free: 18.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1725, allocations: 224.5 kB / 302.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.1728, allocations: 94.8 kB / 302.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.1731, allocations: 254.1 kB / 302.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.021e-06/0.1731, allocations: 1.469 kB / 302.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of Templates: time 0.02025/0.1934, allocations: 16.99 MB / 319.5 MB, free: 10.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2387831695377827]