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.00107/0.00107, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.00192/0.00192, allocations: 165 kB / 23.79 MB, free: 0.7734 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 0.8914/0.8914, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1409/0.1409, allocations: 32.36 MB / 270.4 MB, free: 14.72 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.123e-06/1.123e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.985e-05, allocations: 4.281 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003246/0.003266, allocations: 4.056 MB / 351.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005317, allocations: 1.605 MB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.005764, allocations: 47.62 kB / 353.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.006034, allocations: 166.2 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.006346, allocations: 194.1 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.007111, allocations: 0.581 MB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006983/0.007809, allocations: 1.077 MB / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.008145, allocations: 287.7 kB / 355.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.008529, allocations: 0.5298 MB / 356.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.00873, allocations: 275 kB / 356.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.008809, allocations: 87.94 kB / 356.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.667e-05/0.008865, allocations: 88 kB / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.008941, allocations: 203.1 kB / 356.8 MB, free: 236 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.009094, allocations: 259.2 kB / 357.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.00968, allocations: 0.6688 MB / 357.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.009683, allocations: 0 / 357.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.009684, allocations: 0 / 357.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.009693, allocations: 0 / 357.7 MB, free: 15.3 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.001283/0.01098, allocations: 1.339 MB / 359.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.01102, allocations: 8.031 kB / 359.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.01119, allocations: 172.2 kB / 359.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.01184, allocations: 0.6601 MB / 359.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01187, allocations: 45.69 kB / 360 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.01194, allocations: 68.38 kB / 360 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.01271, allocations: 0.7272 MB / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01272, allocations: 192 / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.01276, allocations: 28.38 kB / 360.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.01277, allocations: 19.94 kB / 360.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.01312, allocations: 239.4 kB / 361 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01517, allocations: 2.923 MB / 364 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.01573, allocations: 417.2 kB / 364.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.0159, allocations: 134.6 kB / 364.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.01594, allocations: 11.98 kB / 364.5 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.01597, allocations: 45.39 kB / 364.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.723e-06/0.01597, allocations: 0 / 364.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007433/0.01671, allocations: 452.1 kB / 365 MB, free: 7.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.0168, allocations: 247.3 kB / 365.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.01728, allocations: 0.6596 MB / 365.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.01731, allocations: 41.7 kB / 365.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.01756, allocations: 491.5 kB / 366.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.01766, allocations: 194.3 kB / 366.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.01777, allocations: 111.9 kB / 366.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.01789, allocations: 0.4887 MB / 367.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.01803, allocations: 94.19 kB / 367.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.01828, allocations: 372 kB / 367.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.01864, allocations: 337.4 kB / 368 MB, free: 4.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01864, allocations: 0 / 368 MB, free: 4.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009592/0.0196, allocations: 0.6739 MB / 368.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01962, allocations: 11.94 kB / 368.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.01963, allocations: 4.281 kB / 368.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.02028, allocations: 262.5 kB / 368.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.02056, allocations: 119.8 kB / 369.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.02457, allocations: 7.779 MB / 376.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.02477, allocations: 63.61 kB / 376.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.02479, allocations: 20 kB / 376.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002233/0.02501, allocations: 216.1 kB / 377.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002357/0.02525, allocations: 364 kB / 377.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003337/0.02558, allocations: 334.3 kB / 377.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.02558, allocations: 0 / 377.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006322/0.02622, allocations: 0.5263 MB / 378.3 MB, free: 9.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.02623, allocations: 8 kB / 378.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.02623, allocations: 4.188 kB / 378.4 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.0265, allocations: 115.5 kB / 378.5 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.02684, allocations: 171.8 kB / 378.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.02924, allocations: 3.828 MB / 382.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.02964, allocations: 59.66 kB / 382.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.02966, allocations: 27.94 kB / 382.5 MB, free: 4.949 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 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.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.0001962/0.02986, allocations: 304 kB / 382.8 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.03, allocations: 103.4 kB / 382.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.697e-05/0.0301, allocations: 94.72 kB / 383 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.0301, allocations: 8 kB / 383 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.03011, allocations: 0 / 383 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.03012, allocations: 11.95 kB / 383.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.0307, allocations: 0.5078 MB / 383.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.0307, allocations: 0 / 383.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.03098, allocations: 100 kB / 383.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.03098, allocations: 0 / 383.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.03101, allocations: 24 kB / 383.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.03101, allocations: 0 / 383.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.03102, allocations: 4 kB / 383.7 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.03175, allocations: 0.9708 MB / 384.7 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.03191, allocations: 135.2 kB / 384.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.03196, allocations: 16 kB / 384.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.03225, allocations: 35.91 kB / 384.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.03232, allocations: 35.88 kB / 384.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.03234, allocations: 12 kB / 384.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.03266, allocations: 438.9 kB / 385.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03266, allocations: 0 / 385.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008491/0.03351, allocations: 295.2 kB / 385.6 MB, free: 1.824 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 0.0001329/0.03364, allocations: 111.2 kB / 385.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.03566, allocations: 1.764 MB / 387.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.03566, allocations: 7.938 kB / 387.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.03586, allocations: 158.9 kB / 387.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008437/0.03671, allocations: 242.7 kB / 387.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.0384, allocations: 1.411 MB / 389.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.03854, allocations: 178.8 kB / 389.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.03878, allocations: 81.06 kB / 389.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.03889, allocations: 44.5 kB / 389.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.714e-06/0.03889, allocations: 0 / 389.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of Templates: time 0.01636/0.05525, allocations: 12.7 MB / 402.3 MB, free: 1.031 MB / 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.480996584985405]