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.001158/0.001158, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001277/0.001277, allocations: 165.3 kB / 23.8 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 1.077/1.077, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1407/0.1407, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.883e-06/1.883e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.037e-05, allocations: 14.19 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003655/0.003685, allocations: 4.058 MB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.006297, allocations: 1.605 MB / 353.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.007028, allocations: 51.62 kB / 353.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.007431, allocations: 162.2 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.007883, allocations: 198.1 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.008915, allocations: 0.5771 MB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.009789, allocations: 1.077 MB / 355.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.01021, allocations: 287.7 kB / 355.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.01071, allocations: 0.5259 MB / 356.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.01094, allocations: 282.9 kB / 356.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.01104, allocations: 84 kB / 356.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.01111, allocations: 88 kB / 356.6 MB, free: 436 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.0112, allocations: 199.1 kB / 356.8 MB, free: 236 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.01139, allocations: 267.1 kB / 357.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.01211, allocations: 0.665 MB / 357.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.01212, allocations: 0 / 357.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01212, allocations: 0 / 357.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.01214, allocations: 0 / 357.8 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.001526/0.01366, allocations: 1.335 MB / 359.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.01371, allocations: 8.031 kB / 359.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.01391, allocations: 172.2 kB / 359.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.01465, allocations: 0.664 MB / 359.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.01468, allocations: 45.69 kB / 360 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.01476, allocations: 64.38 kB / 360 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.01561, allocations: 0.7272 MB / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.01562, allocations: 192 / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.01566, allocations: 32.38 kB / 360.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.01568, allocations: 19.94 kB / 360.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.01611, allocations: 243.3 kB / 361.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.01851, allocations: 2.919 MB / 364 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.01912, allocations: 413.2 kB / 364.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.0193, allocations: 134.6 kB / 364.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.01934, allocations: 8 kB / 364.5 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.01938, allocations: 49.38 kB / 364.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 4.007e-06/0.01938, allocations: 0 / 364.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.000759/0.02014, allocations: 453.6 kB / 365 MB, free: 7.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.02025, allocations: 239.3 kB / 365.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.02083, allocations: 0.6674 MB / 365.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.02087, allocations: 37.7 kB / 365.9 MB, free: 6.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.02115, allocations: 0.4917 MB / 366.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.02125, allocations: 194.3 kB / 366.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.02137, allocations: 108 kB / 366.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.02152, allocations: 0.4965 MB / 367.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.02167, allocations: 86.25 kB / 367.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.02199, allocations: 372 kB / 367.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.02239, allocations: 331.3 kB / 368 MB, free: 4.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.02239, allocations: 0 / 368 MB, free: 4.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00111/0.0235, allocations: 0.6777 MB / 368.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.02353, allocations: 7.938 kB / 368.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.02354, allocations: 4 kB / 368.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008046/0.02434, allocations: 262.8 kB / 368.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.02466, allocations: 123.8 kB / 369.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.02953, allocations: 7.779 MB / 376.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.02977, allocations: 63.61 kB / 376.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.02979, allocations: 20 kB / 376.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002509/0.03004, allocations: 220.1 kB / 377.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002483/0.03029, allocations: 359.9 kB / 377.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003532/0.03064, allocations: 334.5 kB / 377.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.03065, allocations: 0 / 377.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006899/0.03134, allocations: 0.5224 MB / 378.3 MB, free: 9.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.03135, allocations: 8 kB / 378.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.03135, allocations: 8.172 kB / 378.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.03163, allocations: 115.5 kB / 378.5 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.032, allocations: 167.8 kB / 378.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.03416, allocations: 3.832 MB / 382.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.03438, allocations: 59.64 kB / 382.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.03441, allocations: 23.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.0001936/0.0346, allocations: 304 kB / 382.8 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.03473, allocations: 111.5 kB / 383 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.03483, allocations: 94.72 kB / 383 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.03483, allocations: 8 kB / 383.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.03484, allocations: 0 / 383.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.03485, allocations: 11.92 kB / 383.1 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.03545, allocations: 0.4961 MB / 383.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.03545, allocations: 3.984 kB / 383.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.03572, allocations: 100 kB / 383.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.03572, allocations: 4 kB / 383.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.03575, allocations: 16 kB / 383.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.03575, allocations: 4 kB / 383.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.03576, allocations: 4 kB / 383.7 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.03655, allocations: 0.977 MB / 384.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.03672, allocations: 139.2 kB / 384.8 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.03677, allocations: 12 kB / 384.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.03697, allocations: 31.97 kB / 384.8 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.03705, allocations: 35.88 kB / 384.9 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.03706, allocations: 12 kB / 384.9 MB, free: 2.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003396/0.0374, allocations: 434.9 kB / 385.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0374, allocations: 4 kB / 385.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007243/0.03813, allocations: 295.2 kB / 385.6 MB, free: 1.82 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.0001306/0.03826, allocations: 111.1 kB / 385.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.04015, allocations: 1.776 MB / 387.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.04015, allocations: 0 / 387.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.04034, allocations: 154.5 kB / 387.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.04118, allocations: 245.9 kB / 387.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.04294, allocations: 1.411 MB / 389.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.04308, allocations: 170.9 kB / 389.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000254/0.04334, allocations: 89.03 kB / 389.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.04346, allocations: 44.5 kB / 389.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of SimCode: time 2.084e-06/0.04346, allocations: 0 / 389.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Templates: time 0.01808/0.06154, allocations: 13.33 MB / 402.9 MB, free: 384 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.539090571925044]