Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009622/0.0009622, allocations: 83.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.0009812/0.0009812, allocations: 165 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 1.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.283/0.283, allocations: 34.25 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.639e-05, allocations: 6.312 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004031/0.004057, allocations: 3.331 MB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.00628, allocations: 1.465 MB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.006625, allocations: 35.69 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.006874, allocations: 118.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.007369, allocations: 170.3 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.008379, allocations: 0.6434 MB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.009239, allocations: 0.956 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.009582, allocations: 193 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.0102, allocations: 0.5182 MB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.01046, allocations: 267.1 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-05/0.01055, allocations: 76 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.01065, allocations: 79.98 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.01075, allocations: 183.2 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01089, allocations: 223.3 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.01143, allocations: 0.5796 MB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01144, allocations: 0 / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01144, allocations: 0 / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.01144, allocations: 0 / 386.8 MB, free: 9.777 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.001334/0.01278, allocations: 1.18 MB / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01282, allocations: 8.031 kB / 388 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.01318, allocations: 176.3 kB / 388.2 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/0.0141, allocations: 0.5695 MB / 388.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.01415, allocations: 37.38 kB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.01421, allocations: 60.33 kB / 388.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.015, allocations: 0.7988 MB / 389.7 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.01502, allocations: 12.17 kB / 389.7 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.01506, allocations: 16.38 kB / 389.7 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.01508, allocations: 19.88 kB / 389.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.01547, allocations: 205.7 kB / 389.9 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.0175, allocations: 2.388 MB / 392.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.01805, allocations: 343.6 kB / 392.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.01823, allocations: 124.1 kB / 392.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.01827, allocations: 16.38 kB / 392.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.0183, allocations: 41.77 kB / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.716e-06/0.01831, allocations: 0 / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001443/0.01975, allocations: 1.037 MB / 393.9 MB, free: 2.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.01985, allocations: 247.8 kB / 394.1 MB, free: 2.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.0203, allocations: 0.5776 MB / 394.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.02034, allocations: 41.69 kB / 394.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.02057, allocations: 412 kB / 395.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.02068, allocations: 190.4 kB / 395.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.02108, allocations: 108 kB / 395.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.02119, allocations: 0.5003 MB / 395.9 MB, free: 256 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.02137, allocations: 106.2 kB / 396 MB, free: 144 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.02167, allocations: 424.2 kB / 396.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.02203, allocations: 314.7 kB / 396.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02203, allocations: 4 kB / 396.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005329/0.02257, allocations: 444.8 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.02258, allocations: 9.969 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.02259, allocations: 8 kB / 397.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.02261, allocations: 4 kB / 397.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.02308, allocations: 163.8 kB / 397.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.02309, allocations: 8 kB / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.02329, allocations: 59.95 kB / 397.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.02332, allocations: 23.92 kB / 397.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002163/0.02354, allocations: 220.1 kB / 397.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002599/0.0238, allocations: 423.5 kB / 398.1 MB, free: 13.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003221/0.02412, allocations: 315.8 kB / 398.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.02412, allocations: 0 / 398.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004738/0.02459, allocations: 421.3 kB / 398.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.0246, allocations: 12 kB / 398.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.02461, allocations: 7.984 kB / 398.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.02461, allocations: 4.047 kB / 398.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.02499, allocations: 155.8 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.02499, allocations: 4 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.02518, allocations: 51.95 kB / 399 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.02521, allocations: 20 kB / 399 MB, free: 12.79 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 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.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.00016/0.02537, allocations: 299.9 kB / 399.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.02547, allocations: 95.53 kB / 399.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.02557, allocations: 83.27 kB / 399.5 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.02557, allocations: 4 kB / 399.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.02558, allocations: 0 / 399.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.02559, allocations: 3.984 kB / 399.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.02671, allocations: 0.9875 MB / 400.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02671, allocations: 0 / 400.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.02702, allocations: 119.8 kB / 400.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.02703, allocations: 7.938 kB / 400.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.02706, allocations: 15.98 kB / 400.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02706, allocations: 4 kB / 400.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.02706, allocations: 3.938 kB / 400.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.02782, allocations: 0.7497 MB / 401.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.02796, allocations: 115.4 kB / 401.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.02801, allocations: 12 kB / 401.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.02823, allocations: 55.94 kB / 401.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.02833, allocations: 47.92 kB / 401.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.02835, allocations: 23.92 kB / 401.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002785/0.02863, allocations: 387 kB / 402 MB, free: 9.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02863, allocations: 0 / 402 MB, free: 9.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004288/0.02906, allocations: 180 kB / 402.2 MB, free: 9.539 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 0.000123/0.02918, allocations: 107.2 kB / 402.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.03011, allocations: 491.3 kB / 402.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03011, allocations: 0 / 402.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.03031, allocations: 168.5 kB / 403 MB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.03093, allocations: 233.8 kB / 403.2 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.03242, allocations: 1.164 MB / 404.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.03252, allocations: 146.5 kB / 404.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.03278, allocations: 96.77 kB / 404.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.03293, allocations: 56.48 kB / 404.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03293, allocations: 4 kB / 404.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of Templates: time 0.01267/0.0456, allocations: 10.02 MB / 414.7 MB, free: 13.14 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.243953201454133]