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.00141/0.00141, allocations: 80.41 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.001636/0.001636, allocations: 174 kB / 25.61 MB, free: 8.926 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.096/1.096, allocations: 177.2 MB / 206.1 MB, free: 4.496 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.1548/0.1548, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.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.683e-06/1.683e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.731e-05, allocations: 6.141 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003087/0.003115, allocations: 3.27 MB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.004966, allocations: 1.464 MB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.005244, allocations: 35.69 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.00546, allocations: 114.7 kB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.005832, allocations: 170.3 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.006593, allocations: 0.6473 MB / 383 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.007116, allocations: 0.9521 MB / 383.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.007378, allocations: 204.9 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.0078, allocations: 0.5027 MB / 384.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.007997, allocations: 275.1 kB / 384.9 MB, free: 17.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.008061, allocations: 72 kB / 385 MB, free: 17.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.008143, allocations: 79.98 kB / 385 MB, free: 17.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.008212, allocations: 183.2 kB / 385.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.008315, allocations: 223.3 kB / 385.4 MB, free: 17.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.008733, allocations: 0.5874 MB / 386 MB, free: 16.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.008738, allocations: 0 / 386 MB, free: 16.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008739, allocations: 0 / 386 MB, free: 16.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.008746, allocations: 0 / 386 MB, free: 16.78 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001033/0.009779, allocations: 1.188 MB / 387.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.009813, allocations: 15.97 kB / 387.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.01012, allocations: 172.3 kB / 387.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.01059, allocations: 0.5578 MB / 387.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.01063, allocations: 41.38 kB / 388 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.01068, allocations: 52.38 kB / 388 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.01126, allocations: 0.7753 MB / 388.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.01128, allocations: 4.188 kB / 388.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.01131, allocations: 20.31 kB / 388.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01132, allocations: 15.94 kB / 388.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.01153, allocations: 166.7 kB / 389 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.01304, allocations: 2.303 MB / 391.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.01365, allocations: 318.6 kB / 391.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.01383, allocations: 112 kB / 391.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.01386, allocations: 12.38 kB / 391.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.01389, allocations: 41.77 kB / 391.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.976e-06/0.01389, allocations: 0 / 391.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001161/0.01505, allocations: 0.7494 MB / 392.5 MB, free: 9.906 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.01512, allocations: 243.8 kB / 392.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.01544, allocations: 0.5733 MB / 393.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.01547, allocations: 37.7 kB / 393.4 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.01561, allocations: 415.8 kB / 393.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.01568, allocations: 186.3 kB / 394 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01579, allocations: 119.9 kB / 394.1 MB, free: 8.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.01584, allocations: 0.5002 MB / 394.6 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.01595, allocations: 78.25 kB / 394.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.01617, allocations: 408.1 kB / 395.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.01643, allocations: 282.7 kB / 395.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01643, allocations: 0 / 395.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004098/0.01684, allocations: 413 kB / 395.7 MB, free: 6.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01685, allocations: 4 kB / 395.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01686, allocations: 4 kB / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01687, allocations: 4 kB / 395.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.01741, allocations: 167.8 kB / 395.9 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01741, allocations: 4 kB / 395.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.01763, allocations: 56.02 kB / 396 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.01765, allocations: 19.98 kB / 396 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001611/0.01781, allocations: 200.1 kB / 396.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001849/0.01799, allocations: 407.5 kB / 396.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002083/0.0182, allocations: 283.8 kB / 396.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.01821, allocations: 4 kB / 396.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0003392/0.01854, allocations: 400.8 kB / 397.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.01855, allocations: 4 kB / 397.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.01856, allocations: 4.125 kB / 397.3 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.01856, allocations: 4 kB / 397.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.019, allocations: 155.8 kB / 397.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01901, allocations: 8 kB / 397.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.0192, allocations: 48.22 kB / 397.5 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.01922, allocations: 15.98 kB / 397.5 MB, free: 4.504 MB / 314.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.0001145/0.01934, allocations: 303.9 kB / 397.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.01943, allocations: 91.53 kB / 397.9 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.01952, allocations: 79.28 kB / 398 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01952, allocations: 4 kB / 398 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01953, allocations: 0 / 398 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.01953, allocations: 7.984 kB / 398 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009555/0.02049, allocations: 0.8749 MB / 398.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02049, allocations: 0 / 398.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.02082, allocations: 123.8 kB / 399 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.02083, allocations: 4 kB / 399 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.02085, allocations: 15.98 kB / 399 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.02086, allocations: 12 kB / 399 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02086, allocations: 3.938 kB / 399 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.0214, allocations: 0.7027 MB / 399.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.02153, allocations: 111.5 kB / 399.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.02158, allocations: 15.94 kB / 399.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.02181, allocations: 51.95 kB / 399.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.02187, allocations: 51.91 kB / 399.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.02189, allocations: 15.94 kB / 400 MB, free: 1.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.02204, allocations: 366.8 kB / 400.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02204, allocations: 0 / 400.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.02252, allocations: 180 kB / 400.5 MB, free: 1.445 MB / 314.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 8.401e-05/0.02261, allocations: 107.2 kB / 400.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.02309, allocations: 434.7 kB / 401 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02309, allocations: 0 / 401 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.02324, allocations: 152.5 kB / 401.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.02386, allocations: 225.3 kB / 401.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.02531, allocations: 1.162 MB / 402.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02542, allocations: 150.3 kB / 402.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004152/0.02583, allocations: 92.78 kB / 402.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.02645, allocations: 262 kB / 403 MB, free: 14.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02645, allocations: 0 / 403 MB, free: 14.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01565/0.04211, allocations: 10.44 MB / 413.5 MB, free: 4.551 MB / 330.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.5870732576586306]