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.001424/0.001424, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0012/0.0012, allocations: 163 kB / 24.99 MB, free: 8.758 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.9644/0.9644, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2421/0.2421, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.294e-06/2.294e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.281e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004567/0.0046, allocations: 3.324 MB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.007492, allocations: 1.472 MB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.007939, allocations: 35.69 kB / 380.8 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.008193, allocations: 110.7 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.008629, allocations: 170.4 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.009535, allocations: 0.6395 MB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.01032, allocations: 0.9599 MB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.01067, allocations: 201 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.01122, allocations: 0.5065 MB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.01146, allocations: 275 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.01154, allocations: 72 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.01163, allocations: 76 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.01173, allocations: 179.3 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.01188, allocations: 231.2 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.01245, allocations: 0.5835 MB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01246, allocations: 4 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01246, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.01247, allocations: 0 / 384.8 MB, free: 12.12 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.001295/0.01376, allocations: 1.176 MB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.01381, allocations: 8.031 kB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.01414, allocations: 172.3 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.01473, allocations: 0.5656 MB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.01478, allocations: 37.38 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.01485, allocations: 60.33 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.01567, allocations: 0.7989 MB / 387.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.01569, allocations: 12.12 kB / 387.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.01572, allocations: 16.38 kB / 387.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.01574, allocations: 15.94 kB / 387.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.01609, allocations: 213.7 kB / 387.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.01797, allocations: 2.388 MB / 390.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.0185, allocations: 343.6 kB / 390.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.01867, allocations: 120.1 kB / 390.7 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.0187, allocations: 20.36 kB / 390.7 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.01873, allocations: 41.77 kB / 390.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.01873, allocations: 0 / 390.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001377/0.02011, allocations: 1.037 MB / 391.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.02019, allocations: 243.8 kB / 392 MB, free: 4.465 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.0206, allocations: 0.5815 MB / 392.6 MB, free: 3.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.02064, allocations: 37.7 kB / 392.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.02085, allocations: 411.9 kB / 393.1 MB, free: 3.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.02095, allocations: 182.5 kB / 393.2 MB, free: 3.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02106, allocations: 115.9 kB / 393.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.02118, allocations: 0.5003 MB / 393.9 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.02135, allocations: 98.25 kB / 393.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.02164, allocations: 428.2 kB / 394.4 MB, free: 1.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.022, allocations: 310.7 kB / 394.7 MB, free: 1.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.022, allocations: 0 / 394.7 MB, free: 1.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005115/0.02251, allocations: 452.8 kB / 395.1 MB, free: 1.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.02253, allocations: 8 kB / 395.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.02254, allocations: 7.984 kB / 395.1 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.02255, allocations: 4 kB / 395.1 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.02301, allocations: 168 kB / 395.3 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.02302, allocations: 4 kB / 395.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.02322, allocations: 52.02 kB / 395.3 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.02325, allocations: 31.92 kB / 395.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002172/0.02347, allocations: 216.1 kB / 395.6 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002734/0.02374, allocations: 427.4 kB / 396 MB, free: 172 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003198/0.02406, allocations: 319.8 kB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.02406, allocations: 0 / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004553/0.02452, allocations: 424.8 kB / 396.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.02453, allocations: 8 kB / 396.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.02453, allocations: 4 kB / 396.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.02454, allocations: 4 kB / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.02489, allocations: 156.1 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.0249, allocations: 4 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.02509, allocations: 47.97 kB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.02511, allocations: 23.98 kB / 397 MB, free: 15.14 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.0001359/0.02524, allocations: 307.9 kB / 397.3 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.02534, allocations: 95.81 kB / 397.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.862e-05/0.02542, allocations: 79.28 kB / 397.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02543, allocations: 11.98 kB / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.02543, allocations: 0 / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.02544, allocations: 3.984 kB / 397.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.02652, allocations: 0.9758 MB / 398.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.02652, allocations: 4 kB / 398.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.02683, allocations: 123.9 kB / 398.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.02683, allocations: 7.938 kB / 398.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.02686, allocations: 12 kB / 398.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.02686, allocations: 4 kB / 398.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.02686, allocations: 3.984 kB / 398.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.02756, allocations: 0.7574 MB / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.0277, allocations: 115.4 kB / 399.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.02775, allocations: 15.94 kB / 399.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.02797, allocations: 55.95 kB / 399.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.02806, allocations: 47.91 kB / 399.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.02808, allocations: 19.98 kB / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.02834, allocations: 387 kB / 400 MB, free: 12.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02834, allocations: 0 / 400 MB, free: 12.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.02877, allocations: 180 kB / 400.2 MB, free: 11.88 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.0001125/0.02888, allocations: 115.1 kB / 400.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.02954, allocations: 482.6 kB / 400.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02954, allocations: 1.125 kB / 400.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.02974, allocations: 168.5 kB / 400.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.03047, allocations: 235.5 kB / 401.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.03198, allocations: 1.168 MB / 402.3 MB, free: 9.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.299e-05/0.03207, allocations: 150.3 kB / 402.4 MB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.03232, allocations: 88.8 kB / 402.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.03245, allocations: 60.47 kB / 402.6 MB, free: 9.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03245, allocations: 0 / 402.6 MB, free: 9.359 MB / 378.7 MB Notification: Performance of Templates: time 0.01148/0.04393, allocations: 9.41 MB / 412 MB, free: 112 kB / 378.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.428618994075805]