Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009175/0.0009175, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001268/0.001268, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9948/0.9948, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 32.81 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.905e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.006286/0.006325, allocations: 3.994 MB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.01014, allocations: 1.585 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007811/0.01092, allocations: 43.69 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.01129, allocations: 170.1 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.01165, allocations: 178.2 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.01272, allocations: 0.5888 MB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01373, allocations: 1.046 MB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.01418, allocations: 295.6 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.01474, allocations: 0.5182 MB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.01503, allocations: 267 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.01514, allocations: 87.94 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.01522, allocations: 88 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.01532, allocations: 199.1 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.0155, allocations: 259.1 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.01615, allocations: 0.6612 MB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.01616, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.01616, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.01618, allocations: 4 kB / 385.9 MB, free: 10.65 MB / 362.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.001452/0.01763, allocations: 1.312 MB / 387.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.01768, allocations: 12.02 kB / 387.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.01788, allocations: 172.2 kB / 387.4 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.01857, allocations: 0.6239 MB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.0186, allocations: 53.62 kB / 388.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.01869, allocations: 72.27 kB / 388.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.01948, allocations: 0.8661 MB / 389.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01949, allocations: 0 / 389.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.01954, allocations: 32 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01955, allocations: 16 kB / 389.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.01993, allocations: 240 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.02221, allocations: 2.911 MB / 392.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.02275, allocations: 409.2 kB / 392.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.02292, allocations: 142.7 kB / 392.8 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.02297, allocations: 11.94 kB / 392.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.02301, allocations: 41.39 kB / 392.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.747e-06/0.02301, allocations: 3.984 kB / 392.8 MB, free: 3.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006883/0.0237, allocations: 456.3 kB / 393.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.02382, allocations: 350.1 kB / 393.6 MB, free: 2.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.02431, allocations: 0.6478 MB / 394.3 MB, free: 1.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.02434, allocations: 37.7 kB / 394.3 MB, free: 1.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.02459, allocations: 487.5 kB / 394.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.02469, allocations: 190.3 kB / 395 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.02481, allocations: 115.9 kB / 395.1 MB, free: 1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.02495, allocations: 0.5004 MB / 395.6 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.0251, allocations: 82.27 kB / 395.7 MB, free: 416 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.02543, allocations: 0.4937 MB / 396.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.0258, allocations: 349.4 kB / 396.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.0258, allocations: 3.938 kB / 396.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00102/0.02682, allocations: 0.6713 MB / 397.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02684, allocations: 4 kB / 397.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.02685, allocations: 7.938 kB / 397.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/0.02758, allocations: 266.7 kB / 397.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.02786, allocations: 119.9 kB / 397.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.03238, allocations: 7.776 MB / 405.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.03273, allocations: 71.59 kB / 405.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.03276, allocations: 20 kB / 405.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002784/0.03304, allocations: 216.1 kB / 405.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003172/0.03335, allocations: 0.4975 MB / 406.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003479/0.0337, allocations: 329.9 kB / 406.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.0337, allocations: 160 / 406.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006752/0.03438, allocations: 0.5262 MB / 407 MB, free: 4.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.03439, allocations: 8 kB / 407 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.03439, allocations: 0 / 407 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.03468, allocations: 123.7 kB / 407.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.03504, allocations: 167.8 kB / 407.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.03705, allocations: 3.836 MB / 411.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.03731, allocations: 59.72 kB / 411.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.03734, allocations: 20 kB / 411.2 MB, free: 15.71 MB / 394.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.0002014/0.03754, allocations: 303.9 kB / 411.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.03767, allocations: 115.4 kB / 411.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.03776, allocations: 90.47 kB / 411.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.03776, allocations: 8 kB / 411.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.03777, allocations: 0 / 411.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.03777, allocations: 0 / 411.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.03844, allocations: 0.5039 MB / 412.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.03844, allocations: 3.984 kB / 412.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.03871, allocations: 95.89 kB / 412.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.03871, allocations: 7.938 kB / 412.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.03874, allocations: 16 kB / 412.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.03874, allocations: 4.125 kB / 412.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.03874, allocations: 4 kB / 412.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.0395, allocations: 0.9654 MB / 413.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.03965, allocations: 139.2 kB / 413.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.03969, allocations: 12 kB / 413.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.03991, allocations: 39.91 kB / 413.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.03998, allocations: 31.94 kB / 413.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.04, allocations: 12 kB / 413.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.04031, allocations: 434.9 kB / 414 MB, free: 12.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04031, allocations: 0 / 414 MB, free: 12.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007002/0.04101, allocations: 295.1 kB / 414.2 MB, free: 12.59 MB / 394.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.0001401/0.04115, allocations: 111.1 kB / 414.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.04303, allocations: 1.772 MB / 416.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.04304, allocations: 0 / 416.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.04323, allocations: 152.4 kB / 416.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.04403, allocations: 254 kB / 416.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.04562, allocations: 1.379 MB / 417.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.04575, allocations: 166.9 kB / 418.1 MB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000242/0.046, allocations: 84.91 kB / 418.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.04611, allocations: 44.5 kB / 418.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.04611, allocations: 0 / 418.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of Templates: time 0.01551/0.06163, allocations: 12.64 MB / 430.8 MB, free: 12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7996411928907037]