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.0008628/0.0008628, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003578/0.003578, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.869/0.869, allocations: 177.1 MB / 205 MB, free: 5.727 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.241/0.241, allocations: 32.79 MB / 294.2 MB, free: 1.211 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 1.322e-06/1.322e-06, allocations: 0 / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.185e-05, allocations: 2.281 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.0029/0.002922, allocations: 3.212 MB / 444.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1762/0.1791, allocations: 1.444 MB / 445.5 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1795, allocations: 36.09 kB / 445.5 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1797, allocations: 119.8 kB / 445.6 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.18, allocations: 164.9 kB / 445.8 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1807, allocations: 0.6474 MB / 446.5 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.1812, allocations: 0.9632 MB / 447.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.1815, allocations: 196.2 kB / 447.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.1818, allocations: 0.5077 MB / 448.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.182, allocations: 270.2 kB / 448.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.1821, allocations: 71.91 kB / 448.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.1822, allocations: 75.12 kB / 448.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1822, allocations: 182 kB / 448.7 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1823, allocations: 224.5 kB / 448.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.1828, allocations: 0.8859 MB / 449.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1828, allocations: 0 / 449.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1828, allocations: 0 / 449.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1828, allocations: 0 / 449.8 MB, free: 42.19 MB / 410.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.001129/0.184, allocations: 1.139 MB / 450.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.184, allocations: 12.72 kB / 451 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.1843, allocations: 144.2 kB / 451.1 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.1848, allocations: 0.5337 MB / 451.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1848, allocations: 40.16 kB / 451.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1849, allocations: 56.73 kB / 451.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.1856, allocations: 0.9159 MB / 452.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1856, allocations: 2.812 kB / 452.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.1857, allocations: 22.28 kB / 452.7 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1857, allocations: 15.75 kB / 452.7 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.1864, allocations: 0.561 MB / 453.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1879, allocations: 2.008 MB / 455.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.1888, allocations: 0.626 MB / 455.9 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1892, allocations: 315 kB / 456.2 MB, free: 38.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.1893, allocations: 11.81 kB / 456.2 MB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1893, allocations: 45.59 kB / 456.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.1893, allocations: 0 / 456.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.002336/0.1916, allocations: 1.87 MB / 458.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1917, allocations: 242.4 kB / 458.4 MB, free: 37.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.192, allocations: 0.5673 MB / 458.9 MB, free: 37.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.192, allocations: 36.95 kB / 459 MB, free: 37.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1921, allocations: 370.9 kB / 459.3 MB, free: 36.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.1922, allocations: 183.5 kB / 459.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/0.1923, allocations: 105.2 kB / 459.6 MB, free: 36.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.1923, allocations: 331 kB / 459.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.1928, allocations: 306 kB / 460.2 MB, free: 36.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.1932, allocations: 0.5736 MB / 460.8 MB, free: 35.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.194, allocations: 0.6577 MB / 461.5 MB, free: 35.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.194, allocations: 3.312 kB / 461.5 MB, free: 35.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009503/0.195, allocations: 0.794 MB / 462.2 MB, free: 35.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.195, allocations: 7.906 kB / 462.3 MB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.195, allocations: 3.125 kB / 462.3 MB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.195, allocations: 3.25 kB / 462.3 MB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.1955, allocations: 197.8 kB / 462.5 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1955, allocations: 3.344 kB / 462.5 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.1958, allocations: 81.41 kB / 462.5 MB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1958, allocations: 30.41 kB / 462.6 MB, free: 35.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000382/0.1962, allocations: 368.9 kB / 462.9 MB, free: 35.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003444/0.1965, allocations: 0.5073 MB / 463.4 MB, free: 34.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000576/0.1971, allocations: 0.5447 MB / 464 MB, free: 34.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.1971, allocations: 0 / 464 MB, free: 34.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0007181/0.1978, allocations: 0.663 MB / 464.6 MB, free: 34.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.1978, allocations: 10.31 kB / 464.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.1978, allocations: 0 / 464.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.1978, allocations: 6.812 kB / 464.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.1982, allocations: 170.2 kB / 464.8 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.1982, allocations: 7.281 kB / 464.8 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1984, allocations: 69.84 kB / 464.9 MB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1984, allocations: 17 kB / 464.9 MB, free: 34.16 MB / 410.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 8.907e-05/0.1985, allocations: 218.2 kB / 465.1 MB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.1986, allocations: 79.17 kB / 465.2 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.1987, allocations: 84.83 kB / 465.3 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1987, allocations: 6.719 kB / 465.3 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1987, allocations: 4 kB / 465.3 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1987, allocations: 4.5 kB / 465.3 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.2, allocations: 1.27 MB / 466.6 MB, free: 33.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2, allocations: 4.906 kB / 466.6 MB, free: 33.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.2004, allocations: 145.1 kB / 466.7 MB, free: 33.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.2004, allocations: 8 kB / 466.7 MB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.2004, allocations: 17.84 kB / 466.7 MB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2004, allocations: 3.281 kB / 466.8 MB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2004, allocations: 0 / 466.8 MB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.2018, allocations: 1.259 MB / 468 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.2019, allocations: 116 kB / 468.1 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.2019, allocations: 14.41 kB / 468.1 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.2022, allocations: 84.06 kB / 468.2 MB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.2023, allocations: 47.81 kB / 468.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2023, allocations: 17.36 kB / 468.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.2025, allocations: 392.7 kB / 468.7 MB, free: 32.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2025, allocations: 0 / 468.7 MB, free: 32.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.2029, allocations: 181.4 kB / 468.8 MB, free: 32.39 MB / 410.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.782e-05/0.203, allocations: 114.2 kB / 469 MB, free: 32.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2042, allocations: 0.9504 MB / 469.9 MB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2042, allocations: 3.219 kB / 469.9 MB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.2047, allocations: 345.6 kB / 470.2 MB, free: 31.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.2053, allocations: 202 kB / 470.4 MB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2067, allocations: 1.335 MB / 471.8 MB, free: 31.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.2068, allocations: 329.8 kB / 472.1 MB, free: 31.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.207, allocations: 65.86 kB / 472.2 MB, free: 31.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.207, allocations: 0 / 472.2 MB, free: 31.02 MB / 410.7 MB Notification: Performance of Templates: time 0.00777/0.2148, allocations: 9.278 MB / 481.4 MB, free: 30.05 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.621312246657908]