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.001038/0.001038, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001006/0.001006, allocations: 165.4 kB / 24.56 MB, free: 8 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.2 MB / 205 MB, free: 5.281 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.2682/0.2682, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.342e-06/1.342e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.787e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003166/0.003184, allocations: 3.332 MB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.00494, allocations: 1.468 MB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.005167, allocations: 39.69 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.005381, allocations: 114.7 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.00577, allocations: 174.4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.006467, allocations: 0.6356 MB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.007106, allocations: 0.956 MB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.007403, allocations: 201 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.007913, allocations: 0.5104 MB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.008158, allocations: 267.1 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.008243, allocations: 72 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.008344, allocations: 80 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.008439, allocations: 183.2 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.008579, allocations: 231.3 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.009061, allocations: 0.5796 MB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.009063, allocations: 4 kB / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009064, allocations: 0 / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.00907, allocations: 0 / 386.9 MB, free: 9.793 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.001369/0.01044, allocations: 1.176 MB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.01048, allocations: 12.03 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.01081, allocations: 172.3 kB / 388.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.01139, allocations: 0.5618 MB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.01143, allocations: 41.38 kB / 388.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.01151, allocations: 56.33 kB / 388.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/0.01241, allocations: 0.8066 MB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01243, allocations: 4.125 kB / 389.7 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.01246, allocations: 24.38 kB / 389.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.01247, allocations: 15.94 kB / 389.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.0128, allocations: 217.7 kB / 389.9 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.0146, allocations: 2.384 MB / 392.3 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.01512, allocations: 339.6 kB / 392.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.01529, allocations: 124 kB / 392.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.01533, allocations: 12.38 kB / 392.8 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.01536, allocations: 45.75 kB / 392.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.793e-06/0.01536, allocations: 0 / 392.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001618/0.01698, allocations: 1.041 MB / 393.9 MB, free: 2.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.01705, allocations: 235.8 kB / 394.1 MB, free: 2.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.01745, allocations: 0.5854 MB / 394.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.01748, allocations: 37.7 kB / 394.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.01768, allocations: 411.9 kB / 395.1 MB, free: 1.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.01777, allocations: 182.5 kB / 395.3 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.01788, allocations: 119.9 kB / 395.4 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01799, allocations: 0.4964 MB / 395.9 MB, free: 280 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.01816, allocations: 106.2 kB / 396 MB, free: 168 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.01844, allocations: 424.1 kB / 396.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.01879, allocations: 322.7 kB / 396.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0188, allocations: 4.062 kB / 396.7 MB, free: 15.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000515/0.01931, allocations: 444.9 kB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01933, allocations: 11.94 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01933, allocations: 0 / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.01935, allocations: 8 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.01983, allocations: 168 kB / 397.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.599e-06/0.01984, allocations: 7.938 kB / 397.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.02004, allocations: 51.95 kB / 397.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.02006, allocations: 27.92 kB / 397.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000213/0.02028, allocations: 216.1 kB / 397.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002582/0.02054, allocations: 424.2 kB / 398.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003119/0.02085, allocations: 311.8 kB / 398.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.275e-06/0.02085, allocations: 4 kB / 398.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004485/0.0213, allocations: 424.8 kB / 398.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.02131, allocations: 8 kB / 398.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-06/0.02131, allocations: 0 / 398.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.02131, allocations: 12.31 kB / 398.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.02168, allocations: 151.8 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.02168, allocations: 4 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.02187, allocations: 43.97 kB / 399 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.02189, allocations: 27.92 kB / 399 MB, free: 12.81 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.000126/0.02201, allocations: 304 kB / 399.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.02211, allocations: 87.53 kB / 399.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.0222, allocations: 79.28 kB / 399.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.02221, allocations: 8 kB / 399.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.02221, allocations: 0 / 399.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02221, allocations: 7.922 kB / 399.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.0235, allocations: 0.9797 MB / 400.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.0235, allocations: 4 kB / 400.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.0238, allocations: 123.8 kB / 400.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.0238, allocations: 7.938 kB / 400.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.02383, allocations: 15.98 kB / 400.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.02383, allocations: 4 kB / 400.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02383, allocations: 0 / 400.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.02452, allocations: 0.7574 MB / 401.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.02466, allocations: 119.5 kB / 401.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.02471, allocations: 12 kB / 401.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.02493, allocations: 51.94 kB / 401.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.02501, allocations: 51.97 kB / 401.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.02503, allocations: 16 kB / 401.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000495/0.02553, allocations: 391 kB / 402 MB, free: 9.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02553, allocations: 0 / 402 MB, free: 9.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.02593, allocations: 184 kB / 402.2 MB, free: 9.555 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 8.901e-05/0.02602, allocations: 107.2 kB / 402.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.02665, allocations: 491.5 kB / 402.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02665, allocations: 0 / 402.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.02685, allocations: 168.7 kB / 403 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.02744, allocations: 224.5 kB / 403.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.02878, allocations: 1.168 MB / 404.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.481e-05/0.02886, allocations: 142.5 kB / 404.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000213/0.02908, allocations: 97.06 kB / 404.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.02922, allocations: 64.47 kB / 404.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02922, allocations: 0 / 404.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of Templates: time 0.01058/0.0398, allocations: 9.406 MB / 414.1 MB, free: 13.79 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.5263363351114094]