Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00139/0.00139, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001175/0.001175, allocations: 167.4 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.07/1.07, allocations: 158.6 MB / 186.7 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1319/0.1319, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.711e-05, allocations: 8.219 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003225/0.003252, allocations: 3.97 MB / 352.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.005622, allocations: 1.597 MB / 354.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.006231, allocations: 51.56 kB / 354.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.006535, allocations: 166.2 kB / 354.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.00693, allocations: 194.1 kB / 354.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009741/0.007905, allocations: 0.5771 MB / 355.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.008765, allocations: 1.077 MB / 356.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.009128, allocations: 283.7 kB / 356.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.009596, allocations: 0.5337 MB / 357.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.009793, allocations: 278.9 kB / 357.6 MB, free: 428 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.009865, allocations: 84 kB / 357.7 MB, free: 344 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.009922, allocations: 88 kB / 357.8 MB, free: 256 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.01, allocations: 199.1 kB / 358 MB, free: 56 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.0102, allocations: 263.2 kB / 358.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.01074, allocations: 0.6767 MB / 358.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01074, allocations: 0 / 358.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01074, allocations: 0 / 358.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.01075, allocations: 0 / 358.9 MB, free: 15.11 MB / 298.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.001224/0.01197, allocations: 1.351 MB / 360.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.01201, allocations: 8.031 kB / 360.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.01219, allocations: 172.2 kB / 360.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.01281, allocations: 0.6485 MB / 361.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.01284, allocations: 53.69 kB / 361.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.0129, allocations: 64.38 kB / 361.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.01351, allocations: 0.6997 MB / 361.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01352, allocations: 4.188 kB / 361.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.01356, allocations: 24.38 kB / 361.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01358, allocations: 19.94 kB / 361.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.01382, allocations: 191.1 kB / 362.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.01582, allocations: 2.814 MB / 364.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.01625, allocations: 381 kB / 365.3 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.01637, allocations: 114.7 kB / 365.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.0164, allocations: 12 kB / 365.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.01643, allocations: 49.33 kB / 365.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.983e-06/0.01644, allocations: 0 / 365.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005651/0.017, allocations: 402 kB / 365.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.01709, allocations: 247.2 kB / 366.1 MB, free: 7.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.01748, allocations: 0.6591 MB / 366.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.01752, allocations: 37.7 kB / 366.8 MB, free: 6.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.01776, allocations: 495.4 kB / 367.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.01786, allocations: 190.3 kB / 367.5 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01798, allocations: 119.8 kB / 367.6 MB, free: 5.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.0181, allocations: 0.4926 MB / 368.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.0182, allocations: 70.25 kB / 368.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.01841, allocations: 351.9 kB / 368.5 MB, free: 4.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.01868, allocations: 309.4 kB / 368.8 MB, free: 4.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01869, allocations: 4 kB / 368.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008723/0.01956, allocations: 0.627 MB / 369.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01957, allocations: 8.281 kB / 369.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.01958, allocations: 11.94 kB / 369.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.02019, allocations: 258.5 kB / 369.7 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.02046, allocations: 119.9 kB / 369.8 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.02447, allocations: 7.637 MB / 377.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.02468, allocations: 67.59 kB / 377.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.0247, allocations: 12 kB / 377.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001859/0.02488, allocations: 204.2 kB / 377.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002449/0.02513, allocations: 347.9 kB / 378.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002719/0.0254, allocations: 302.4 kB / 378.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.0254, allocations: 4 kB / 378.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006101/0.02601, allocations: 491 kB / 378.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.02602, allocations: 8 kB / 378.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.02602, allocations: 0 / 378.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.02629, allocations: 119.5 kB / 379 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.0268, allocations: 167.8 kB / 379.2 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.02888, allocations: 3.771 MB / 382.9 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.02909, allocations: 59.66 kB / 383 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.02911, allocations: 12 kB / 383 MB, free: 5.535 MB / 314.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.0001567/0.02926, allocations: 304.1 kB / 383.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.0294, allocations: 107.4 kB / 383.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.02949, allocations: 94.67 kB / 383.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02949, allocations: 7.984 kB / 383.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.0295, allocations: 4 kB / 383.5 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.0295, allocations: 3.938 kB / 383.5 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.02999, allocations: 412.6 kB / 383.9 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.02999, allocations: 0 / 383.9 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.03026, allocations: 95.89 kB / 384 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.03026, allocations: 11.98 kB / 384 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.03028, allocations: 15.94 kB / 384 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.03028, allocations: 0 / 384 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.03029, allocations: 7.938 kB / 384 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.03092, allocations: 0.9263 MB / 385 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.03107, allocations: 139.2 kB / 385.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.03111, allocations: 12 kB / 385.1 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.03132, allocations: 27.92 kB / 385.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.03139, allocations: 35.94 kB / 385.2 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.0314, allocations: 15.98 kB / 385.2 MB, free: 3.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.03165, allocations: 410.8 kB / 385.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03165, allocations: 0 / 385.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.03229, allocations: 295.2 kB / 385.9 MB, free: 2.594 MB / 314.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.403e-05/0.03238, allocations: 111.1 kB / 386 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.03391, allocations: 1.721 MB / 387.7 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03391, allocations: 0 / 387.7 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.03406, allocations: 138.5 kB / 387.8 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.03482, allocations: 250.4 kB / 388.1 MB, free: 276 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.03629, allocations: 1.41 MB / 389.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.03642, allocations: 170.9 kB / 389.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.03665, allocations: 81.06 kB / 389.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.037, allocations: 258 kB / 390 MB, free: 14.28 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.037, allocations: 4 kB / 390 MB, free: 14.28 MB / 330.7 MB Notification: Performance of Templates: time 0.01628/0.05328, allocations: 13.87 MB / 403.9 MB, free: 480 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6867548949085176]