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.0008965/0.0008965, 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.0008937/0.0008937, 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 0.974/0.974, allocations: 177.1 MB / 205 MB, free: 5.613 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.2681/0.2681, allocations: 32.81 MB / 294.3 MB, free: 1.277 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 2.394e-06/2.394e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.585e-05/3.824e-05, allocations: 6.25 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003816/0.003855, allocations: 3.329 MB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.00611, allocations: 1.469 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.006523, allocations: 35.69 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.006791, allocations: 118.5 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.007229, allocations: 170.5 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.008264, allocations: 0.6395 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008465/0.00911, allocations: 0.9638 MB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.009501, allocations: 201 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.01017, allocations: 0.5104 MB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.01046, allocations: 263.1 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.982e-05/0.01055, allocations: 72 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.01066, allocations: 80 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.01075, allocations: 179.2 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.01089, allocations: 231.3 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.01154, allocations: 0.5874 MB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01154, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01154, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01155, allocations: 0 / 384.8 MB, free: 11.8 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.001358/0.01291, allocations: 1.176 MB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.01295, allocations: 8.031 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.01333, allocations: 180.3 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.01393, allocations: 0.5578 MB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.01397, allocations: 41.38 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.01404, allocations: 60.33 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.01487, allocations: 0.8066 MB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.01488, allocations: 192 / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.01493, allocations: 20.38 kB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.01494, allocations: 19.94 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.01532, allocations: 209.7 kB / 387.9 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.01737, allocations: 2.392 MB / 390.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.01792, allocations: 338.8 kB / 390.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.0181, allocations: 128 kB / 390.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.01813, allocations: 8.375 kB / 390.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.01816, allocations: 41.77 kB / 390.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.01817, allocations: 0 / 390.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001441/0.01961, allocations: 1.044 MB / 391.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.01969, allocations: 239.8 kB / 392.1 MB, free: 4.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.02014, allocations: 0.5853 MB / 392.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.02017, allocations: 37.7 kB / 392.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.02038, allocations: 411.9 kB / 393.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.02048, allocations: 186.4 kB / 393.3 MB, free: 2.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.0206, allocations: 112 kB / 393.4 MB, free: 2.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.02071, allocations: 0.4964 MB / 393.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.02088, allocations: 106.2 kB / 394 MB, free: 2.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.02122, allocations: 428.1 kB / 394.4 MB, free: 1.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.02162, allocations: 314.7 kB / 394.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02162, allocations: 0 / 394.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005778/0.0222, allocations: 448.9 kB / 395.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.02221, allocations: 4 kB / 395.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02222, allocations: 4 kB / 395.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.02224, allocations: 7.938 kB / 395.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.02274, allocations: 168.1 kB / 395.3 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.02275, allocations: 11.92 kB / 395.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.02296, allocations: 51.95 kB / 395.4 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.02299, allocations: 23.94 kB / 395.4 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002433/0.02323, allocations: 216.1 kB / 395.6 MB, free: 380 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000282/0.02351, allocations: 423.6 kB / 396 MB, free: 15.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003262/0.02384, allocations: 315.8 kB / 396.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.02384, allocations: 0 / 396.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004867/0.02433, allocations: 429 kB / 396.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.02434, allocations: 4 kB / 396.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.02434, allocations: 4 kB / 396.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.02435, allocations: 12.34 kB / 396.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.02472, allocations: 147.8 kB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.02473, allocations: 4 kB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.02492, allocations: 48.08 kB / 397 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.02494, allocations: 27.98 kB / 397 MB, free: 14.82 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.0001638/0.02511, allocations: 307.9 kB / 397.3 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.0252, allocations: 95.52 kB / 397.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.02529, allocations: 79.28 kB / 397.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.0253, allocations: 4 kB / 397.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.0253, allocations: 3.938 kB / 397.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.02531, allocations: 7.984 kB / 397.5 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.02645, allocations: 0.9758 MB / 398.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.02646, allocations: 0 / 398.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.02678, allocations: 131.8 kB / 398.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.02678, allocations: 3.938 kB / 398.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.02681, allocations: 19.98 kB / 398.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.02682, allocations: 0 / 398.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.02682, allocations: 4 kB / 398.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.02757, allocations: 0.7496 MB / 399.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.02772, allocations: 119.4 kB / 399.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.02777, allocations: 19.98 kB / 399.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.02801, allocations: 47.95 kB / 399.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.02809, allocations: 43.92 kB / 399.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.02812, allocations: 19.98 kB / 399.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.02838, allocations: 383 kB / 400 MB, free: 11.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02838, allocations: 0 / 400 MB, free: 11.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.02884, allocations: 184 kB / 400.2 MB, free: 11.57 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.0001181/0.02896, allocations: 111.2 kB / 400.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006941/0.02965, allocations: 491.5 kB / 400.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02965, allocations: 0 / 400.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.02986, allocations: 168.8 kB / 400.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.0305, allocations: 222.3 kB / 401.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.03208, allocations: 1.172 MB / 402.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.633e-05/0.03218, allocations: 146.3 kB / 402.5 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.03246, allocations: 100.8 kB / 402.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.0326, allocations: 60.42 kB / 402.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0326, allocations: 0 / 402.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of Templates: time 0.01241/0.04501, allocations: 10.03 MB / 412.7 MB, free: 15.15 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.208084739279002]