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.001309/0.001309, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001496/0.001496, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.048/1.048, allocations: 177.1 MB / 206 MB, free: 4.5 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.1419/0.1419, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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 1.433e-06/1.433e-06, allocations: 0 / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.521e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003069/0.003084, allocations: 3.927 MB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.005006, allocations: 1.573 MB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.005432, allocations: 51.62 kB / 382.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.005691, allocations: 158.2 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.005953, allocations: 178.2 kB / 383.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.006725, allocations: 0.5967 MB / 383.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.007363, allocations: 1.038 MB / 384.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.007678, allocations: 299.6 kB / 385 MB, free: 17.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.008048, allocations: 0.5259 MB / 385.6 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.008234, allocations: 267 kB / 385.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.008303, allocations: 84 kB / 385.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.008353, allocations: 88 kB / 386 MB, free: 16.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.008431, allocations: 203.1 kB / 386.2 MB, free: 16.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.008548, allocations: 259.1 kB / 386.5 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.008957, allocations: 0.6651 MB / 387.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.008959, allocations: 0 / 387.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00896, allocations: 0 / 387.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.008967, allocations: 4 kB / 387.1 MB, free: 15.68 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.0009886/0.009956, allocations: 1.32 MB / 388.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.009998, allocations: 11.98 kB / 388.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.01013, allocations: 176.2 kB / 388.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.01062, allocations: 0.6083 MB / 389.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.01065, allocations: 49.69 kB / 389.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.01071, allocations: 76.3 kB / 389.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.01122, allocations: 0.8286 MB / 390.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.01123, allocations: 0 / 390.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.01127, allocations: 31.98 kB / 390.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01128, allocations: 16 kB / 390.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.01149, allocations: 189.5 kB / 390.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.01296, allocations: 2.806 MB / 393.2 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.01333, allocations: 388.8 kB / 393.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.01343, allocations: 114.7 kB / 393.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.01346, allocations: 15.98 kB / 393.7 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.01348, allocations: 49.33 kB / 393.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/0.01348, allocations: 0 / 393.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004643/0.01395, allocations: 406.3 kB / 394.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.01402, allocations: 354.1 kB / 394.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.01431, allocations: 0.6396 MB / 395.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.01434, allocations: 37.7 kB / 395.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.0145, allocations: 487.4 kB / 395.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.01457, allocations: 190.3 kB / 395.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.01466, allocations: 115.9 kB / 396 MB, free: 6.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.01472, allocations: 0.4965 MB / 396.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.0148, allocations: 74.25 kB / 396.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.01498, allocations: 489.5 kB / 397 MB, free: 5.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.01521, allocations: 309.6 kB / 397.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01521, allocations: 0 / 397.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007748/0.01599, allocations: 0.6296 MB / 398 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.016, allocations: 8.281 kB / 398 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01601, allocations: 4 kB / 398 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.01656, allocations: 254.4 kB / 398.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.01681, allocations: 119.9 kB / 398.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.02019, allocations: 7.648 MB / 406 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.02038, allocations: 67.55 kB / 406 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.0204, allocations: 20.03 kB / 406.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001827/0.02059, allocations: 196.1 kB / 406.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002474/0.02083, allocations: 493.5 kB / 406.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002574/0.02109, allocations: 302.5 kB / 407 MB, free: 10.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.02109, allocations: 3.984 kB / 407 MB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0005392/0.02163, allocations: 491 kB / 407.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.02164, allocations: 8 kB / 407.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.02164, allocations: 288 / 407.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.02189, allocations: 119.2 kB / 407.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.02222, allocations: 167.8 kB / 407.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.02405, allocations: 3.763 MB / 411.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.02424, allocations: 59.66 kB / 411.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.02426, allocations: 16 kB / 411.6 MB, free: 5.512 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.0002778/0.02454, allocations: 312 kB / 411.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.02465, allocations: 107.4 kB / 412.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.02474, allocations: 90.48 kB / 412.1 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02474, allocations: 7.984 kB / 412.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.02475, allocations: 4 kB / 412.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.02475, allocations: 0 / 412.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.0252, allocations: 416.5 kB / 412.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.0252, allocations: 4 kB / 412.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.02545, allocations: 99.89 kB / 412.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.02545, allocations: 0 / 412.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.02547, allocations: 12 kB / 412.7 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.02547, allocations: 7.984 kB / 412.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02547, allocations: 0 / 412.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.02606, allocations: 0.9301 MB / 413.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.0262, allocations: 131.2 kB / 413.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.02624, allocations: 12 kB / 413.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.02645, allocations: 35.97 kB / 413.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.02651, allocations: 35.94 kB / 413.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.02652, allocations: 11.97 kB / 413.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.02674, allocations: 402.8 kB / 414.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02674, allocations: 0 / 414.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.02728, allocations: 295.1 kB / 414.5 MB, free: 2.582 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 9.565e-05/0.02737, allocations: 115.1 kB / 414.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.02905, allocations: 1.718 MB / 416.3 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.02906, allocations: 7.938 kB / 416.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.02919, allocations: 140.2 kB / 416.5 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.02989, allocations: 244.3 kB / 416.7 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.03113, allocations: 1.371 MB / 418.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.03124, allocations: 170.8 kB / 418.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.03142, allocations: 92.88 kB / 418.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.03177, allocations: 266 kB / 418.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03177, allocations: 4 kB / 418.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Templates: time 0.01668/0.04845, allocations: 13.77 MB / 432.4 MB, free: 0.707 MB / 346.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.753070489037782]