Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.246e-05, allocations: 3.016 kB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003919/0.003941, allocations: 3.943 MB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.007318, allocations: 1.639 MB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.007831, allocations: 47.69 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.00817, allocations: 162.1 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.008527, allocations: 170.2 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.009463, allocations: 0.5966 MB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008762/0.01034, allocations: 1.035 MB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.01073, allocations: 307.6 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.01124, allocations: 0.522 MB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.0115, allocations: 271 kB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.01162, allocations: 84 kB / 334 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.01169, allocations: 91.94 kB / 334.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.01179, allocations: 199.1 kB / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.01198, allocations: 267.1 kB / 334.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.01257, allocations: 0.6612 MB / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01257, allocations: 0 / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01257, allocations: 0 / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.01258, allocations: 0 / 335.2 MB, free: 13.69 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.001168/0.01375, allocations: 1.197 MB / 336.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01379, allocations: 16.03 kB / 336.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.01392, allocations: 120.8 kB / 336.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.01463, allocations: 0.5172 MB / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.01466, allocations: 45.69 kB / 337.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.01474, allocations: 72.36 kB / 337.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.01532, allocations: 0.7883 MB / 337.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01533, allocations: 0 / 337.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.01537, allocations: 28 kB / 338 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01538, allocations: 16 kB / 338 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.01559, allocations: 162.2 kB / 338.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01719, allocations: 1.98 MB / 340.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.01756, allocations: 310.9 kB / 340.4 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.01767, allocations: 103.4 kB / 340.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.01771, allocations: 8 kB / 340.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.01774, allocations: 46.5 kB / 340.6 MB, free: 8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/0.01775, allocations: 0 / 340.6 MB, free: 8 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004561/0.0182, allocations: 314.6 kB / 340.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.01831, allocations: 350.1 kB / 341.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.01866, allocations: 0.5818 MB / 341.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.01869, allocations: 37.7 kB / 341.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.01883, allocations: 322.6 kB / 342.2 MB, free: 6.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.01892, allocations: 198.3 kB / 342.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.01902, allocations: 102.3 kB / 342.5 MB, free: 6.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.0191, allocations: 333.9 kB / 342.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.01918, allocations: 55.47 kB / 342.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.01939, allocations: 434 kB / 343.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.01963, allocations: 268 kB / 343.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01963, allocations: 0 / 343.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00083/0.02046, allocations: 0.5112 MB / 344 MB, free: 4.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02048, allocations: 12.06 kB / 344 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.02049, allocations: 4 kB / 344 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.02107, allocations: 239.1 kB / 344.3 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.02132, allocations: 115.9 kB / 344.4 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.02459, allocations: 5.368 MB / 349.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.02485, allocations: 67.72 kB / 349.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.02487, allocations: 16 kB / 349.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002061/0.02507, allocations: 141.4 kB / 350 MB, free: 13.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002227/0.0253, allocations: 426 kB / 350.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002392/0.02553, allocations: 268.2 kB / 350.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.02554, allocations: 0 / 350.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006375/0.02617, allocations: 385.4 kB / 351 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.02619, allocations: 8.219 kB / 351 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.02619, allocations: 8 kB / 351.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.02642, allocations: 105.6 kB / 351.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.02674, allocations: 167.8 kB / 351.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.02808, allocations: 2.619 MB / 353.9 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.02828, allocations: 63.84 kB / 354 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.0283, allocations: 24.05 kB / 354 MB, free: 9.57 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.0001422/0.02844, allocations: 220.1 kB / 354.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.02855, allocations: 71.88 kB / 354.3 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.02864, allocations: 94.47 kB / 354.4 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.02864, allocations: 4 kB / 354.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.02865, allocations: 0 / 354.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.02865, allocations: 7.984 kB / 354.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.02916, allocations: 381.2 kB / 354.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02917, allocations: 8 kB / 354.8 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.0294, allocations: 99.88 kB / 354.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.02941, allocations: 0 / 354.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.02943, allocations: 11.94 kB / 354.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.02943, allocations: 4.156 kB / 354.9 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.02943, allocations: 3.938 kB / 354.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.0299, allocations: 0.6648 MB / 355.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.03002, allocations: 87.3 kB / 355.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.03006, allocations: 19.94 kB / 355.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.03026, allocations: 35.97 kB / 355.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.03032, allocations: 35.94 kB / 355.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.03034, allocations: 15.94 kB / 355.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.03053, allocations: 288.5 kB / 356 MB, free: 7.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03053, allocations: 0 / 356 MB, free: 7.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006125/0.03114, allocations: 291.2 kB / 356.3 MB, free: 7.215 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.0001158/0.03126, allocations: 89.45 kB / 356.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.03262, allocations: 1.369 MB / 357.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.03263, allocations: 8.562 kB / 357.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.03303, allocations: 129.6 kB / 357.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.0337, allocations: 243.2 kB / 358.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.03514, allocations: 1.361 MB / 359.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.03526, allocations: 174.8 kB / 359.7 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000221/0.03548, allocations: 80.92 kB / 359.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.03582, allocations: 221.2 kB / 360 MB, free: 3.418 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.03583, allocations: 0 / 360 MB, free: 3.418 MB / 330.7 MB Notification: Performance of Templates: time 0.01605/0.05188, allocations: 13.37 MB / 373.4 MB, free: 6.281 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.3185994387604296]