Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008946/0.0008946, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009129/0.0009129, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8919/0.8919, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1431/0.1431, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 4 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.753e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.002766/0.002784, allocations: 3.352 MB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.004627, allocations: 1.43 MB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.004967, allocations: 43.62 kB / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.005177, allocations: 118.7 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.005538, allocations: 174.4 kB / 352.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.006239, allocations: 0.6044 MB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.006796, allocations: 0.9715 MB / 354.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.007065, allocations: 197 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004165/0.007482, allocations: 0.5144 MB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.007677, allocations: 271 kB / 355.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.834e-05/0.007746, allocations: 72 kB / 355.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.0078, allocations: 72 kB / 355.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.007866, allocations: 179.3 kB / 355.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.007982, allocations: 231.2 kB / 355.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.008374, allocations: 0.5796 MB / 356.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.008376, allocations: 0 / 356.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008377, allocations: 0 / 356.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.008384, allocations: 0 / 356.4 MB, free: 0.6094 MB / 282.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.00117/0.009554, allocations: 1.188 MB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.009588, allocations: 8.031 kB / 357.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.009731, allocations: 144.3 kB / 357.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.01031, allocations: 0.5734 MB / 358.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.01035, allocations: 41.38 kB / 358.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.01042, allocations: 60.33 kB / 358.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.0115, allocations: 0.7298 MB / 359.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01153, allocations: 4.125 kB / 359.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.01158, allocations: 24.38 kB / 359.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.0116, allocations: 19.88 kB / 359.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.01211, allocations: 209.7 kB / 359.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.01488, allocations: 2.392 MB / 361.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.01564, allocations: 343.6 kB / 362.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.01587, allocations: 123.8 kB / 362.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.01592, allocations: 16.38 kB / 362.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.01595, allocations: 41.77 kB / 362.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.01595, allocations: 0 / 362.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.001605/0.01756, allocations: 1.039 MB / 363.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.01762, allocations: 184.4 kB / 363.6 MB, free: 9.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.01804, allocations: 0.5932 MB / 364.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.01807, allocations: 37.7 kB / 364.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.01827, allocations: 419.9 kB / 364.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.01837, allocations: 182.5 kB / 364.8 MB, free: 7.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.01849, allocations: 112 kB / 364.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01861, allocations: 0.4964 MB / 365.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.01879, allocations: 110.1 kB / 365.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.01906, allocations: 353.4 kB / 365.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.01941, allocations: 310.9 kB / 366.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01942, allocations: 0 / 366.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005356/0.01995, allocations: 457 kB / 366.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01997, allocations: 8 kB / 366.6 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01997, allocations: 4 kB / 366.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01999, allocations: 4 kB / 366.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.02047, allocations: 167.7 kB / 366.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.02048, allocations: 4 kB / 366.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.02068, allocations: 56.05 kB / 366.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.02071, allocations: 27.94 kB / 366.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002313/0.02094, allocations: 216.1 kB / 367.1 MB, free: 5.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002441/0.02119, allocations: 360.7 kB / 367.4 MB, free: 4.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003229/0.02151, allocations: 311.8 kB / 367.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.02151, allocations: 0 / 367.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.000479/0.02199, allocations: 432.9 kB / 368.1 MB, free: 4.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.022, allocations: 4 kB / 368.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.022, allocations: 7.938 kB / 368.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.022, allocations: 4 kB / 368.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.02237, allocations: 143.8 kB / 368.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.02238, allocations: 11.92 kB / 368.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.02256, allocations: 52.2 kB / 368.4 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.02259, allocations: 20 kB / 368.4 MB, free: 3.965 MB / 298.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.0001482/0.02273, allocations: 303.8 kB / 368.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.02283, allocations: 95.48 kB / 368.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.02292, allocations: 83.42 kB / 368.8 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02293, allocations: 4 kB / 368.9 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.02293, allocations: 4 kB / 368.9 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02294, allocations: 3.984 kB / 368.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.02402, allocations: 0.9771 MB / 369.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.02402, allocations: 0 / 369.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.02432, allocations: 123.8 kB / 370 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.02433, allocations: 7.938 kB / 370 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.02436, allocations: 15.98 kB / 370 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.02436, allocations: 8.062 kB / 370 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02436, allocations: 0 / 370 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.02509, allocations: 0.7496 MB / 370.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.02523, allocations: 127.3 kB / 370.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.02527, allocations: 12 kB / 370.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.0255, allocations: 47.95 kB / 370.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.02558, allocations: 51.91 kB / 371 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.0256, allocations: 16 kB / 371 MB, free: 1.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002696/0.02587, allocations: 391 kB / 371.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02587, allocations: 0 / 371.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.02628, allocations: 180 kB / 371.5 MB, free: 0.7031 MB / 298.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.892e-05/0.02638, allocations: 111.3 kB / 371.7 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.02705, allocations: 491 kB / 372.1 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02705, allocations: 0 / 372.1 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.02726, allocations: 168.5 kB / 372.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.02787, allocations: 231.2 kB / 372.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.02958, allocations: 1.281 MB / 373.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.094e-05/0.02967, allocations: 142.6 kB / 373.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.02991, allocations: 97.11 kB / 374 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.03005, allocations: 60.47 kB / 374.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.03005, allocations: 0 / 374.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01065/0.0407, allocations: 9.485 MB / 383.6 MB, free: 4.668 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4437703317962587]