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.001865/0.001865, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002001/0.002001, allocations: 160.8 kB / 24.27 MB, free: 156 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.602/1.602, allocations: 177 MB / 204.4 MB, free: 5.609 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 1.443e-06/1.443e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.208e-05, allocations: 2.312 kB / 272.3 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01081/0.01084, allocations: 7.731 MB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.01632, allocations: 1.815 MB / 281.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.01801, allocations: 35.75 kB / 281.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.01884, allocations: 237.6 kB / 282.1 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.02057, allocations: 0.4997 MB / 282.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.02193, allocations: 415.5 kB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.0253, allocations: 1.852 MB / 284.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.02617, allocations: 420.5 kB / 285.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.02782, allocations: 0.9939 MB / 286.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.02874, allocations: 0.5647 MB / 286.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.02902, allocations: 188 kB / 287 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.02933, allocations: 180 kB / 287.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000412/0.02974, allocations: 378.5 kB / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007423/0.03048, allocations: 0.5533 MB / 288.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1361/0.1666, allocations: 2.137 MB / 290.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1666, allocations: 0 / 290.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1666, allocations: 0 / 290.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.554e-05/0.1667, allocations: 0 / 290.2 MB, free: 18.56 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.003448/0.1701, allocations: 1.902 MB / 292.1 MB, free: 17.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1702, allocations: 9.609 kB / 292.1 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.1705, allocations: 275.1 kB / 292.4 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1717, allocations: 0.7515 MB / 293.1 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.1717, allocations: 98.33 kB / 293.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.1719, allocations: 135.8 kB / 293.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.1742, allocations: 1.768 MB / 295.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1742, allocations: 5 kB / 295.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.1743, allocations: 54.81 kB / 295.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.1743, allocations: 31.56 kB / 295.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.1762, allocations: 0.9657 MB / 296.2 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007906/0.1841, allocations: 4.604 MB / 300.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.1856, allocations: 0.8836 MB / 301.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/0.1864, allocations: 447.2 kB / 302.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.1865, allocations: 18.11 kB / 302.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1865, allocations: 56.11 kB / 302.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.015e-06/0.1865, allocations: 4 kB / 302.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.004541/0.1911, allocations: 1.62 MB / 303.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1911, allocations: 89.14 kB / 303.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.1922, allocations: 0.954 MB / 304.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.1923, allocations: 47.95 kB / 304.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.1926, allocations: 0.6936 MB / 305.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.1928, allocations: 353.1 kB / 305.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.1931, allocations: 228.2 kB / 306.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1932, allocations: 0.6363 MB / 306.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.1937, allocations: 290.5 kB / 307.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.1942, allocations: 0.5869 MB / 307.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1952, allocations: 0.954 MB / 308.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1952, allocations: 6.844 kB / 308.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002164/0.1974, allocations: 1.307 MB / 309.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1974, allocations: 8 kB / 309.9 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1974, allocations: 4 kB / 309.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.1992, allocations: 478.2 kB / 310.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.1999, allocations: 185.6 kB / 310.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.21, allocations: 13.3 MB / 323.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.2109, allocations: 117.5 kB / 324 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.211, allocations: 40 kB / 324.1 MB, free: 10.73 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.0006398/0.2117, allocations: 333.7 kB / 324.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.2119, allocations: 135.3 kB / 324.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2122, allocations: 113.4 kB / 324.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.2122, allocations: 8 kB / 324.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.2122, allocations: 4.547 kB / 324.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2122, allocations: 3.984 kB / 324.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.2169, allocations: 2.175 MB / 326.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.2169, allocations: 8.062 kB / 326.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.2175, allocations: 115.1 kB / 326.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.2195, allocations: 469.6 kB / 327.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.2196, allocations: 23.45 kB / 327.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.2344, allocations: 13.32 MB / 340.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.2344, allocations: 8.062 kB / 340.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.2379, allocations: 1.703 MB / 342.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.2382, allocations: 111.1 kB / 342.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2383, allocations: 19.98 kB / 342.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.239, allocations: 83.94 kB / 342.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.2393, allocations: 96.22 kB / 342.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.2393, allocations: 31.7 kB / 342.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008713/0.2402, allocations: 0.5849 MB / 343.4 MB, free: 6.676 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2402, allocations: 0 / 343.4 MB, free: 6.676 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001511/0.2417, allocations: 399.2 kB / 343.8 MB, free: 6.285 MB / 298.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.0002455/0.242, allocations: 141.8 kB / 343.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.2448, allocations: 1.908 MB / 345.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2448, allocations: 0 / 345.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.2468, allocations: 1.537 MB / 347.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.2481, allocations: 190.1 kB / 347.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.2525, allocations: 2.227 MB / 349.7 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.2532, allocations: 0.5163 MB / 350.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004228/0.2536, allocations: 91.33 kB / 350.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.2538, allocations: 64.44 kB / 350.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2538, allocations: 0 / 350.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Templates: time 0.03075/0.2845, allocations: 15.2 MB / 365.6 MB, free: 484 kB / 314.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","/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.281642421032302]