Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.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.0009154/0.0009154, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001885/0.001885, allocations: 163.4 kB / 24.91 MB, free: 8.715 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 0.9615/0.9615, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2666/0.2666, allocations: 34.86 MB / 296.6 MB, free: 420 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 4 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.464e-05, allocations: 4.953 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004629/0.004664, allocations: 3.923 MB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.007404, allocations: 1.655 MB / 331.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.007905, allocations: 43.69 kB / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.008211, allocations: 154.3 kB / 331.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.008527, allocations: 178.2 kB / 331.8 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.009469, allocations: 0.5927 MB / 332.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.01032, allocations: 1.042 MB / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.01066, allocations: 303.6 kB / 333.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.01106, allocations: 0.5221 MB / 334.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.01128, allocations: 274.9 kB / 334.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.01136, allocations: 84 kB / 334.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.01142, allocations: 88 kB / 334.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01152, allocations: 203.1 kB / 334.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01168, allocations: 259.1 kB / 335.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000749/0.01243, allocations: 0.6573 MB / 335.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.01243, allocations: 0 / 335.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01243, allocations: 3.938 kB / 335.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.01244, allocations: 0 / 335.9 MB, free: 13.15 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001061/0.0135, allocations: 1.209 MB / 337.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01353, allocations: 8.031 kB / 337.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.01365, allocations: 124.8 kB / 337.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.01417, allocations: 0.5171 MB / 337.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.0142, allocations: 53.69 kB / 337.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.01427, allocations: 68.38 kB / 337.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.01486, allocations: 0.7844 MB / 338.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01488, allocations: 7.938 kB / 338.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.01491, allocations: 24 kB / 338.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.01492, allocations: 16 kB / 338.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.01513, allocations: 170.5 kB / 338.8 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.01673, allocations: 1.96 MB / 340.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.01709, allocations: 315.3 kB / 341.1 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.0172, allocations: 112 kB / 341.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.01724, allocations: 8 kB / 341.2 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.01727, allocations: 42.56 kB / 341.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 1.954e-06/0.01727, allocations: 0 / 341.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004237/0.0177, allocations: 310.7 kB / 341.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.01781, allocations: 346.1 kB / 341.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.01815, allocations: 0.5857 MB / 342.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.01818, allocations: 37.7 kB / 342.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.01859, allocations: 318.6 kB / 342.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.01868, allocations: 202.3 kB / 343 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.01877, allocations: 98.3 kB / 343.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.01885, allocations: 333.9 kB / 343.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.01894, allocations: 59.45 kB / 343.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.01915, allocations: 422.1 kB / 343.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.01941, allocations: 282.4 kB / 344.2 MB, free: 4.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01941, allocations: 0 / 344.2 MB, free: 4.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007588/0.02017, allocations: 0.5216 MB / 344.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.02019, allocations: 8 kB / 344.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.0202, allocations: 0 / 344.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.02076, allocations: 243.4 kB / 345 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.02102, allocations: 123.9 kB / 345.1 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.02449, allocations: 5.348 MB / 350.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.0247, allocations: 63.64 kB / 350.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.02472, allocations: 16 kB / 350.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001737/0.02489, allocations: 141.4 kB / 350.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002116/0.02511, allocations: 426 kB / 351.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002294/0.02534, allocations: 271.5 kB / 351.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.02534, allocations: 4 kB / 351.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004463/0.02578, allocations: 386.7 kB / 351.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.0258, allocations: 8 kB / 351.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.0258, allocations: 4.188 kB / 351.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.02604, allocations: 109.8 kB / 351.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.02636, allocations: 159.8 kB / 352 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.02773, allocations: 2.631 MB / 354.6 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.02792, allocations: 67.64 kB / 354.7 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.02794, allocations: 16 kB / 354.7 MB, free: 9.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID1.I.local_reset,PID2.I.local_reset,PID3.I.local_reset,PID4.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.02807, allocations: 212.2 kB / 354.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.02817, allocations: 75.86 kB / 355 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-05/0.02826, allocations: 90.47 kB / 355.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.02826, allocations: 12.03 kB / 355.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02827, allocations: 0 / 355.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02827, allocations: 0 / 355.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.02876, allocations: 385.4 kB / 355.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.02876, allocations: 4 kB / 355.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.02901, allocations: 95.89 kB / 355.6 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02901, allocations: 4 kB / 355.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.02903, allocations: 19.92 kB / 355.6 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.02904, allocations: 4 kB / 355.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02904, allocations: 4.156 kB / 355.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.0295, allocations: 0.658 MB / 356.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.02963, allocations: 95.23 kB / 356.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.02967, allocations: 11.94 kB / 356.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.02988, allocations: 35.97 kB / 356.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.02993, allocations: 35.94 kB / 356.4 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.02994, allocations: 4 kB / 356.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.03013, allocations: 288.5 kB / 356.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03013, allocations: 0 / 356.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008557/0.03099, allocations: 295.2 kB / 357 MB, free: 6.688 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.03109, allocations: 96.28 kB / 357.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.03245, allocations: 1.375 MB / 358.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.03246, allocations: 8 kB / 358.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.03258, allocations: 132.9 kB / 358.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.03327, allocations: 245.7 kB / 358.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.03462, allocations: 1.341 MB / 360.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.03474, allocations: 170.8 kB / 360.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.03495, allocations: 88.91 kB / 360.4 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.03531, allocations: 221.2 kB / 360.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.883e-06/0.03532, allocations: 3.938 kB / 360.6 MB, free: 2.883 MB / 330.7 MB Notification: Performance of Templates: time 0.01558/0.05089, allocations: 13.36 MB / 374 MB, free: 5.754 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.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.205112212803215]