Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.001261/0.001261, allocations: 77.88 kB / 21.42 MB, free: 3.082 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.0009142/0.0009142, allocations: 170.5 kB / 24.82 MB, free: 8.957 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 0.9427/0.9427, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.243/0.243, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.561e-05, allocations: 9.344 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003552/0.003577, allocations: 3.278 MB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.006149, allocations: 1.468 MB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003966/0.006546, allocations: 35.69 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.006798, allocations: 114.7 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.007232, allocations: 178.3 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.008184, allocations: 0.6356 MB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.008893, allocations: 0.956 MB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.009194, allocations: 205 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.009881, allocations: 0.5104 MB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.01012, allocations: 267 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.05e-05/0.0102, allocations: 72 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.01031, allocations: 76 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.01042, allocations: 183.3 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.01056, allocations: 227.2 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.01123, allocations: 0.5835 MB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.01123, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01123, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.01124, allocations: 4 kB / 385.2 MB, free: 11.6 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001149/0.01239, allocations: 1.188 MB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.01243, allocations: 11.97 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.01273, allocations: 176.3 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.01327, allocations: 0.554 MB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.01331, allocations: 37.38 kB / 387.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.01337, allocations: 60.33 kB / 387.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.01409, allocations: 0.7753 MB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.01411, allocations: 192 / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.01414, allocations: 20.38 kB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01415, allocations: 19.94 kB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.01437, allocations: 162.7 kB / 388.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.01614, allocations: 2.306 MB / 390.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.01663, allocations: 318.6 kB / 390.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.01677, allocations: 104.1 kB / 390.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.01681, allocations: 8.375 kB / 391 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.01684, allocations: 49.69 kB / 391 MB, free: 5.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.548e-06/0.01685, allocations: 3.984 kB / 391 MB, free: 5.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001186/0.01803, allocations: 0.7611 MB / 391.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.01811, allocations: 239.8 kB / 392 MB, free: 4.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.01861, allocations: 0.5733 MB / 392.6 MB, free: 3.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.01865, allocations: 37.7 kB / 392.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.01884, allocations: 411.8 kB / 393 MB, free: 3.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/0.01894, allocations: 190.3 kB / 393.2 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.01906, allocations: 115.9 kB / 393.3 MB, free: 3.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01918, allocations: 0.4964 MB / 393.8 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.0193, allocations: 82.25 kB / 393.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.01955, allocations: 404.1 kB / 394.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.01983, allocations: 278.6 kB / 394.6 MB, free: 1.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01983, allocations: 0 / 394.6 MB, free: 1.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004249/0.02026, allocations: 412.9 kB / 395 MB, free: 1.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.02027, allocations: 8 kB / 395 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02028, allocations: 0 / 395 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.02029, allocations: 7.938 kB / 395 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.02077, allocations: 172 kB / 395.1 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.02077, allocations: 4 kB / 395.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.02098, allocations: 55.95 kB / 395.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.021, allocations: 19.98 kB / 395.2 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001754/0.02118, allocations: 200.1 kB / 395.4 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002346/0.02141, allocations: 411.5 kB / 395.8 MB, free: 288 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002626/0.02167, allocations: 287.8 kB / 396.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.02168, allocations: 0 / 396.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.000386/0.02206, allocations: 388.8 kB / 396.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.02207, allocations: 8 kB / 396.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.02207, allocations: 0 / 396.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.02208, allocations: 8 kB / 396.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.02246, allocations: 156.1 kB / 396.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.02247, allocations: 7.984 kB / 396.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.02265, allocations: 43.97 kB / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.02267, allocations: 19.98 kB / 396.7 MB, free: 15.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (limIntegrator1.local_reset,limIntegrator2.local_reset,PID1.I.local_reset,PID2.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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 prepare postOptimizeDAE: time 0.0001437/0.02281, allocations: 299.9 kB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.0229, allocations: 91.53 kB / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.481e-05/0.023, allocations: 83.28 kB / 397.2 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.023, allocations: 8 kB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.02301, allocations: 3.984 kB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.02302, allocations: 0 / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009361/0.02395, allocations: 0.871 MB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02395, allocations: 0 / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.02423, allocations: 123.9 kB / 398.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02424, allocations: 4 kB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.02426, allocations: 11.98 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.02426, allocations: 15.81 kB / 398.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02427, allocations: 3.984 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.02482, allocations: 0.7066 MB / 398.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.02509, allocations: 111.5 kB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.02513, allocations: 15.94 kB / 399 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.02535, allocations: 59.95 kB / 399.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.02541, allocations: 47.84 kB / 399.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.02543, allocations: 16.06 kB / 399.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.02561, allocations: 366.8 kB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02561, allocations: 0 / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.02599, allocations: 180 kB / 399.7 MB, free: 12.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.866e-05/0.02608, allocations: 111.2 kB / 399.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004632/0.02655, allocations: 430.6 kB / 400.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02655, allocations: 0 / 400.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.0267, allocations: 149.6 kB / 400.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.02752, allocations: 225.2 kB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.02914, allocations: 1.164 MB / 401.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.02923, allocations: 146.3 kB / 401.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.02951, allocations: 97.06 kB / 402 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.02989, allocations: 258 kB / 402.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.02989, allocations: 0 / 402.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01098/0.04087, allocations: 10.2 MB / 412.5 MB, free: 15.63 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.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.024865736719221]