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.0012/0.0012, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001385/0.001385, allocations: 162.2 kB / 24.99 MB, free: 8.801 MB / 18.57 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 1.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.81e-05, allocations: 2.312 kB / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006666/0.006694, allocations: 7.782 MB / 280.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.01033, allocations: 1.804 MB / 282.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.011, allocations: 31.81 kB / 282.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.0114, allocations: 249.5 kB / 282.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007735/0.01218, allocations: 499.8 kB / 283.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.01278, allocations: 427.4 kB / 283.8 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.01413, allocations: 1.852 MB / 285.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.01467, allocations: 416.5 kB / 286.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000864/0.01553, allocations: 0.994 MB / 287.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.01608, allocations: 0.5686 MB / 287.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.01625, allocations: 180 kB / 287.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.01641, allocations: 184 kB / 288 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.01661, allocations: 374.6 kB / 288.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.01702, allocations: 0.5572 MB / 288.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009784/0.018, allocations: 1.133 MB / 290 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.018, allocations: 0 / 290 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.018, allocations: 0 / 290 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.01802, allocations: 0 / 290 MB, free: 0.6055 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.116/0.134, allocations: 1.777 MB / 291.8 MB, free: 29.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.134, allocations: 10.45 kB / 291.8 MB, free: 29.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.1344, allocations: 278.5 kB / 292.1 MB, free: 29.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.1353, allocations: 0.7341 MB / 292.8 MB, free: 28.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.1353, allocations: 104 kB / 292.9 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.1355, allocations: 135.7 kB / 293.1 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1368, allocations: 1.389 MB / 294.5 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1368, allocations: 1.844 kB / 294.5 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.1369, allocations: 57.38 kB / 294.5 MB, free: 27.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.1369, allocations: 30.31 kB / 294.5 MB, free: 27.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.1378, allocations: 0.5182 MB / 295.1 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.1422, allocations: 3.74 MB / 298.8 MB, free: 25.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.1431, allocations: 0.6532 MB / 299.5 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.1435, allocations: 305.7 kB / 299.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.1435, allocations: 17.44 kB / 299.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1436, allocations: 54.44 kB / 299.8 MB, free: 25.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.825e-06/0.1436, allocations: 0 / 299.8 MB, free: 25.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.002498/0.1461, allocations: 1.292 MB / 301.1 MB, free: 24.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1461, allocations: 87.73 kB / 301.2 MB, free: 24.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.1467, allocations: 0.7096 MB / 301.9 MB, free: 24.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.1468, allocations: 47.2 kB / 302 MB, free: 24.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.147, allocations: 0.656 MB / 302.6 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1471, allocations: 329.3 kB / 302.9 MB, free: 23.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.1473, allocations: 185 kB / 303.1 MB, free: 23.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1474, allocations: 0.5665 MB / 303.7 MB, free: 22.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.1476, allocations: 156.5 kB / 303.8 MB, free: 22.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.148, allocations: 425.2 kB / 304.2 MB, free: 22.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006098/0.1486, allocations: 0.6186 MB / 304.9 MB, free: 21.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1486, allocations: 5.75 kB / 304.9 MB, free: 21.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001272/0.1499, allocations: 1.004 MB / 305.9 MB, free: 21.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1499, allocations: 12 kB / 305.9 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1499, allocations: 3.812 kB / 305.9 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/0.1508, allocations: 424.5 kB / 306.3 MB, free: 20.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.1512, allocations: 187.7 kB / 306.5 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.1555, allocations: 12.38 MB / 318.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.156, allocations: 115.2 kB / 319 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.156, allocations: 36 kB / 319 MB, free: 7.543 MB / 266.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.0002799/0.1563, allocations: 224.4 kB / 319.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.1564, allocations: 131.4 kB / 319.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.1565, allocations: 113.3 kB / 319.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1565, allocations: 8 kB / 319.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.1565, allocations: 4 kB / 319.5 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.1565, allocations: 3.984 kB / 319.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.1584, allocations: 1.673 MB / 321.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1584, allocations: 64 / 321.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.1586, allocations: 127.8 kB / 321.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.1595, allocations: 411.1 kB / 321.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.1595, allocations: 16 kB / 321.7 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/0.1645, allocations: 12.37 MB / 334.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1645, allocations: 4.062 kB / 334.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.166, allocations: 1.267 MB / 335.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1661, allocations: 115.1 kB / 335.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.1662, allocations: 23.72 kB / 335.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.1665, allocations: 83.94 kB / 335.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.1667, allocations: 88.84 kB / 335.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.1667, allocations: 31.98 kB / 335.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003867/0.1671, allocations: 458.9 kB / 336.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1671, allocations: 0 / 336.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001057/0.1682, allocations: 403.1 kB / 336.5 MB, free: 5.164 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.0001751/0.1683, allocations: 139 kB / 336.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1697, allocations: 1.624 MB / 338.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1697, allocations: 4 kB / 338.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.1707, allocations: 1.392 MB / 339.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.1716, allocations: 197.4 kB / 339.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.1753, allocations: 2.095 MB / 342 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1755, allocations: 222.7 kB / 342.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003368/0.1758, allocations: 99.31 kB / 342.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.176, allocations: 60.5 kB / 342.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.176, allocations: 0 / 342.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Templates: time 0.02317/0.1991, allocations: 15.22 MB / 357.6 MB, free: 104 kB / 298.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 -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.486101476009935]