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.0009967/0.0009967, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002521, allocations: 457.8 kB / 10.45 MB, free: 244 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.001027/0.001027, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002483, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9969/0.9969, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09546/1.092, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.333e-06/1.333e-06, allocations: 0 / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.989e-05, allocations: 2.312 kB / 245.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.0131/0.01312, allocations: 7.701 MB / 253 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.01703, allocations: 1.9 MB / 254.9 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.01777, allocations: 35.75 kB / 254.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.01817, allocations: 245.6 kB / 255.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008319/0.019, allocations: 0.4919 MB / 255.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.01962, allocations: 419.4 kB / 256 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.02109, allocations: 1.855 MB / 257.9 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.02163, allocations: 428.5 kB / 258.3 MB, free: 364 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.02275, allocations: 1.119 MB / 259.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.02338, allocations: 0.5724 MB / 260 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.02361, allocations: 188 kB / 260.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.02381, allocations: 180 kB / 260.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.02396, allocations: 275.1 kB / 260.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.02432, allocations: 471.1 kB / 261.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.02513, allocations: 1.043 MB / 262.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.871e-05/0.02515, allocations: 3.984 kB / 262.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02515, allocations: 0 / 262.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.745e-05/0.02518, allocations: 0 / 262.1 MB, free: 12.5 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.001741/0.02693, allocations: 1.968 MB / 264.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.02696, allocations: 8.625 kB / 264.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.02716, allocations: 224.8 kB / 264.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.02777, allocations: 0.5207 MB / 264.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.02782, allocations: 94.95 kB / 264.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.02792, allocations: 139.9 kB / 265.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009139/0.02884, allocations: 1.333 MB / 266.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.02886, allocations: 4 kB / 266.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.02891, allocations: 56 kB / 266.5 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.02893, allocations: 32 kB / 266.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.02933, allocations: 333 kB / 266.8 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.03256, allocations: 3.182 MB / 270 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.03309, allocations: 0.5455 MB / 270.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.03334, allocations: 247.6 kB / 270.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.96e-05/0.03343, allocations: 21 kB / 270.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.03347, allocations: 47.56 kB / 270.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.026e-06/0.03347, allocations: 3.938 kB / 270.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.001811/0.03528, allocations: 1.038 MB / 271.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.03532, allocations: 94.05 kB / 272 MB, free: 2.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.03573, allocations: 0.6247 MB / 272.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.03577, allocations: 41.7 kB / 272.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.03597, allocations: 0.5253 MB / 273.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.03612, allocations: 333.1 kB / 273.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.03626, allocations: 182.8 kB / 273.7 MB, free: 472 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.03636, allocations: 406.5 kB / 274.1 MB, free: 56 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.03648, allocations: 98.58 kB / 274.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.03668, allocations: 306.5 kB / 274.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.03707, allocations: 0.5311 MB / 275 MB, free: 14.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.03708, allocations: 4 kB / 275 MB, free: 14.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0007871/0.03786, allocations: 0.742 MB / 275.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.03788, allocations: 4 kB / 275.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.03789, allocations: 12.16 kB / 275.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.03869, allocations: 400.5 kB / 276.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.03912, allocations: 231.6 kB / 276.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.04308, allocations: 8.46 MB / 284.9 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.04339, allocations: 111.2 kB / 285 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.04342, allocations: 28 kB / 285 MB, free: 4.41 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.0001772/0.0436, allocations: 173.6 kB / 285.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.04369, allocations: 99.89 kB / 285.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/0.04377, allocations: 105.4 kB / 285.4 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.04378, allocations: 12 kB / 285.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.04378, allocations: 0 / 285.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.04379, allocations: 7.922 kB / 285.4 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.04508, allocations: 1.173 MB / 286.5 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.04508, allocations: 0 / 286.5 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.04539, allocations: 155.7 kB / 286.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.04547, allocations: 91.2 kB / 286.8 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007189/0.04619, allocations: 393 kB / 287.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.04622, allocations: 20.06 kB / 287.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1121/0.1583, allocations: 8.393 MB / 295.6 MB, free: 28.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1583, allocations: 7.562 kB / 295.6 MB, free: 28.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1596, allocations: 0.9445 MB / 296.5 MB, free: 28.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1597, allocations: 16.09 kB / 296.6 MB, free: 28.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.1601, allocations: 88.16 kB / 296.6 MB, free: 28.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.1603, allocations: 95.41 kB / 296.7 MB, free: 28.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.1603, allocations: 23.08 kB / 296.8 MB, free: 28.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003016/0.1606, allocations: 300.5 kB / 297 MB, free: 28.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1606, allocations: 0 / 297 MB, free: 28.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001141/0.1617, allocations: 399.7 kB / 297.4 MB, free: 28.05 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.0001571/0.1619, allocations: 118.9 kB / 297.6 MB, free: 27.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.163, allocations: 1.222 MB / 298.8 MB, free: 27.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.64e-05/0.163, allocations: 21.48 kB / 298.8 MB, free: 27.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.1638, allocations: 1.067 MB / 299.9 MB, free: 26.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.1647, allocations: 1.714 MB / 301.6 MB, free: 24.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.1706, allocations: 2.127 MB / 303.7 MB, free: 24.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.1708, allocations: 230 kB / 303.9 MB, free: 23.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.171, allocations: 95.73 kB / 304 MB, free: 23.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.1714, allocations: 274.9 kB / 304.3 MB, free: 23.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1714, allocations: 0 / 304.3 MB, free: 23.9 MB / 282.7 MB Notification: Performance of Templates: time 0.02158/0.193, allocations: 18.08 MB / 322.4 MB, free: 12.88 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0798881696537137]