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.001416/0.001416, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001589/0.001589, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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.493/1.493, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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 2.044e-06/2.044e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.55e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01018/0.01022, allocations: 6.963 MB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004571/0.01479, allocations: 1.803 MB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.01556, allocations: 35.81 kB / 281.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.0161, allocations: 237.6 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.01725, allocations: 0.4958 MB / 281.8 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.01829, allocations: 415.5 kB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.02085, allocations: 1.856 MB / 284 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000739/0.02159, allocations: 416.5 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.02293, allocations: 0.9939 MB / 285.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/0.02369, allocations: 0.5296 MB / 286 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.02393, allocations: 180 kB / 286.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.02421, allocations: 180 kB / 286.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.02454, allocations: 374.5 kB / 286.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.02517, allocations: 0.5533 MB / 287.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.02753, allocations: 2.13 MB / 289.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.02753, allocations: 0 / 289.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02753, allocations: 0 / 289.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.306e-05/0.02757, allocations: 4 kB / 289.4 MB, free: 0.5469 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.1142/0.1418, allocations: 1.669 MB / 291 MB, free: 28.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1418, allocations: 9.719 kB / 291.1 MB, free: 28.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.1422, allocations: 275.3 kB / 291.3 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1435, allocations: 0.7553 MB / 292.1 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.424e-05/0.1436, allocations: 98.14 kB / 292.2 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.1438, allocations: 139.1 kB / 292.3 MB, free: 27.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.1463, allocations: 1.715 MB / 294 MB, free: 26.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.1463, allocations: 2.469 kB / 294 MB, free: 26.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.1464, allocations: 52.44 kB / 294.1 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.1465, allocations: 31.81 kB / 294.1 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.1483, allocations: 1.007 MB / 295.1 MB, free: 26.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00671/0.155, allocations: 3.87 MB / 299 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.1564, allocations: 0.838 MB / 299.8 MB, free: 23.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/0.1572, allocations: 435.9 kB / 300.2 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.1572, allocations: 17.78 kB / 300.3 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1573, allocations: 47.25 kB / 300.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.246e-06/0.1573, allocations: 4 kB / 300.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.005166/0.1624, allocations: 1.756 MB / 302.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1625, allocations: 90.17 kB / 302.2 MB, free: 22.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1636, allocations: 0.7498 MB / 302.9 MB, free: 22.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/0.1636, allocations: 44.33 kB / 303 MB, free: 22.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.164, allocations: 0.6097 MB / 303.6 MB, free: 21.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.1642, allocations: 326 kB / 303.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.1644, allocations: 179.7 kB / 304.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1646, allocations: 399.6 kB / 304.4 MB, free: 21.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/0.1651, allocations: 305.5 kB / 304.7 MB, free: 20.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.1657, allocations: 0.5047 MB / 305.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.1667, allocations: 0.8118 MB / 306.1 MB, free: 19.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1667, allocations: 4 kB / 306.1 MB, free: 19.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002396/0.1691, allocations: 1.361 MB / 307.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1691, allocations: 4 kB / 307.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1691, allocations: 8 kB / 307.4 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.1714, allocations: 0.5332 MB / 308 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.172, allocations: 195.7 kB / 308.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008076/0.1801, allocations: 10.04 MB / 318.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/0.181, allocations: 119.3 kB / 318.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.1811, allocations: 40 kB / 318.4 MB, free: 6.816 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.0004875/0.1815, allocations: 273.7 kB / 318.6 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.1817, allocations: 131.4 kB / 318.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.1819, allocations: 117.3 kB / 318.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1819, allocations: 12 kB / 318.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.1819, allocations: 3.828 kB / 318.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.1819, allocations: 7.984 kB / 318.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.185, allocations: 1.915 MB / 320.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.185, allocations: 8.062 kB / 320.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.1855, allocations: 119.9 kB / 320.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.1876, allocations: 0.5273 MB / 321.5 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.1876, allocations: 19.98 kB / 321.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.1991, allocations: 10.07 MB / 331.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.1992, allocations: 3.938 kB / 331.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/0.203, allocations: 1.651 MB / 333.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.2034, allocations: 115.1 kB / 333.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.2035, allocations: 16 kB / 333.3 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.2042, allocations: 87.92 kB / 333.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.2044, allocations: 92.83 kB / 333.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.2045, allocations: 24 kB / 333.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008033/0.2053, allocations: 0.5029 MB / 334 MB, free: 6.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2053, allocations: 0 / 334 MB, free: 6.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001577/0.2069, allocations: 403.2 kB / 334.4 MB, free: 6.031 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.0002471/0.2071, allocations: 131.1 kB / 334.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.2101, allocations: 1.525 MB / 336.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.2101, allocations: 4 kB / 336.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.2118, allocations: 1.16 MB / 337.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2129, allocations: 201.1 kB / 337.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.2175, allocations: 2.205 MB / 339.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.2182, allocations: 0.5135 MB / 340.2 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006752/0.2189, allocations: 95.38 kB / 340.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.219, allocations: 60.5 kB / 340.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.219, allocations: 0 / 340.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of Templates: time 0.0298/0.2488, allocations: 15 MB / 355.3 MB, free: 1.168 MB / 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.203111417009495]