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.001072/0.001072, allocations: 84.73 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.001346/0.001346, allocations: 164.9 kB / 24.91 MB, free: 8.758 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.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.457 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.2722/0.2722, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 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 1.684e-06/1.684e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.675e-05, allocations: 2.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005658/0.005685, allocations: 3.98 MB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.009676, allocations: 1.639 MB / 331.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.01068, allocations: 47.62 kB / 331.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.01115, allocations: 158.2 kB / 331.8 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000585/0.01174, allocations: 174.2 kB / 331.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.01314, allocations: 0.5966 MB / 332.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.01461, allocations: 1.038 MB / 333.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.01512, allocations: 307.6 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006742/0.01579, allocations: 0.5221 MB / 334.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.01615, allocations: 270.9 kB / 334.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.01628, allocations: 84 kB / 334.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.01639, allocations: 88 kB / 334.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.01655, allocations: 203.1 kB / 335 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.0168, allocations: 259.1 kB / 335.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008091/0.01761, allocations: 0.6573 MB / 335.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01761, allocations: 4 kB / 335.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01761, allocations: 0 / 335.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.01762, allocations: 3.938 kB / 335.9 MB, free: 13.07 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.001992/0.01962, allocations: 1.201 MB / 337.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.01967, allocations: 12.03 kB / 337.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.01987, allocations: 120.8 kB / 337.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.02069, allocations: 0.521 MB / 337.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.02073, allocations: 49.69 kB / 337.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.02083, allocations: 64.38 kB / 337.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.0217, allocations: 0.7883 MB / 338.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.02172, allocations: 0 / 338.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.02177, allocations: 28 kB / 338.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.02178, allocations: 16 kB / 338.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.02211, allocations: 170.5 kB / 338.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.02446, allocations: 1.972 MB / 340.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.02483, allocations: 310.2 kB / 341.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.02493, allocations: 103.4 kB / 341.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.02497, allocations: 15.92 kB / 341.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.025, allocations: 46.56 kB / 341.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.083e-06/0.025, allocations: 0 / 341.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004119/0.02541, allocations: 304.6 kB / 341.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.02552, allocations: 342.1 kB / 342 MB, free: 6.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.02587, allocations: 0.5935 MB / 342.6 MB, free: 6.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.02591, allocations: 37.7 kB / 342.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.02605, allocations: 318.7 kB / 342.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.02615, allocations: 190.3 kB / 343.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.02625, allocations: 106.3 kB / 343.2 MB, free: 5.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.02633, allocations: 337.9 kB / 343.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.02641, allocations: 59.45 kB / 343.6 MB, free: 5.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.02662, allocations: 426 kB / 344 MB, free: 4.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.02685, allocations: 275.4 kB / 344.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02685, allocations: 0 / 344.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007087/0.02756, allocations: 0.5144 MB / 344.8 MB, free: 3.645 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.02758, allocations: 11.94 kB / 344.8 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.02758, allocations: 4 kB / 344.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/0.02812, allocations: 239.5 kB / 345 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.02849, allocations: 183.6 kB / 345.2 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.03162, allocations: 5.429 MB / 350.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.03179, allocations: 67.7 kB / 350.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.03181, allocations: 16 kB / 350.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001437/0.03196, allocations: 145.4 kB / 350.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001929/0.03215, allocations: 418.1 kB / 351.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002096/0.03236, allocations: 267.6 kB / 351.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.03236, allocations: 4 kB / 351.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.000409/0.03277, allocations: 390 kB / 351.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.03278, allocations: 8 kB / 351.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.03278, allocations: 4.156 kB / 351.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.03299, allocations: 101.8 kB / 352 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.03347, allocations: 276 kB / 352.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.03483, allocations: 2.666 MB / 355 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.03501, allocations: 59.66 kB / 355 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.03503, allocations: 16 kB / 355 MB, free: 8.695 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.000109/0.03514, allocations: 224.2 kB / 355.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.03523, allocations: 63.94 kB / 355.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.03531, allocations: 90.47 kB / 355.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.03532, allocations: 11.94 kB / 355.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.03532, allocations: 0 / 355.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.03532, allocations: 3.984 kB / 355.4 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.03573, allocations: 377.2 kB / 355.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.03574, allocations: 192 / 355.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.03598, allocations: 115.8 kB / 355.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.03598, allocations: 4 kB / 355.9 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.036, allocations: 12 kB / 355.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.036, allocations: 4 kB / 355.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.036, allocations: 0 / 355.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.03643, allocations: 0.6658 MB / 356.6 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.03656, allocations: 87.3 kB / 356.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.03662, allocations: 15.94 kB / 356.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.03687, allocations: 39.97 kB / 356.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.03692, allocations: 35.88 kB / 356.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.03694, allocations: 8 kB / 356.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.03712, allocations: 288.5 kB / 357.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03712, allocations: 0 / 357.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00048/0.0376, allocations: 291.2 kB / 357.3 MB, free: 6.344 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 9.996e-05/0.0377, allocations: 89.12 kB / 357.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.03907, allocations: 1.386 MB / 358.8 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.03908, allocations: 8.562 kB / 358.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.03922, allocations: 129.6 kB / 359 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.03987, allocations: 253.8 kB / 359.2 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.04118, allocations: 1.346 MB / 360.5 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.0413, allocations: 174.9 kB / 360.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002252/0.04152, allocations: 89.11 kB / 360.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.04188, allocations: 237.1 kB / 361 MB, free: 2.52 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04188, allocations: 0 / 361 MB, free: 2.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01708/0.05897, allocations: 14.11 MB / 375.1 MB, free: 4.637 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 -s gbode -gbm=radauIIA3 -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.4640248250216246]