Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 78.34 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 62.45 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005466/0.1353, allocations: 3.55 MB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.1387, allocations: 1.457 MB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/0.1397, allocations: 23.88 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.1403, allocations: 79.19 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1414, allocations: 115.1 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.143, allocations: 0.5835 MB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1444, allocations: 0.9289 MB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.145, allocations: 296.8 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007946/0.1458, allocations: 378.3 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.1464, allocations: 362 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.1466, allocations: 72 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1468, allocations: 76 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.147, allocations: 175.3 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.1474, allocations: 365.7 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1485, allocations: 0.8018 MB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.1485, allocations: 15.86 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1485, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.537e-05/0.1485, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 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.003066/0.1516, allocations: 1.207 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1517, allocations: 8.031 kB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.1524, allocations: 135.8 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.1533, allocations: 0.57 MB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.1533, allocations: 41.38 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.1534, allocations: 48.38 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1549, allocations: 0.7247 MB / 491.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.1549, allocations: 3.984 kB / 491.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/0.155, allocations: 20 kB / 491.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.155, allocations: 12 kB / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1564, allocations: 0.5581 MB / 492 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.1596, allocations: 2.29 MB / 494.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.1613, allocations: 0.7214 MB / 495 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.1621, allocations: 326.2 kB / 495.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.1621, allocations: 16.44 kB / 495.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1622, allocations: 42.88 kB / 495.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.817e-06/0.1622, allocations: 7.984 kB / 495.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004399/0.1666, allocations: 1.914 MB / 497.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.1667, allocations: 247.7 kB / 497.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.1674, allocations: 0.5709 MB / 498.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.1674, allocations: 37.7 kB / 498.2 MB, free: 2.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.1677, allocations: 360.8 kB / 498.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1679, allocations: 181.3 kB / 498.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1681, allocations: 106.2 kB / 498.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1682, allocations: 330 kB / 499.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.169, allocations: 294.9 kB / 499.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000887/0.1699, allocations: 431.7 kB / 499.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1714, allocations: 0.659 MB / 0.4888 GB, free: 8 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1714, allocations: 0 / 0.4888 GB, free: 8 kB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001903/0.1734, allocations: 0.7946 MB / 0.4896 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1734, allocations: 6.656 kB / 0.4896 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1734, allocations: 7.938 kB / 0.4896 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1734, allocations: 11.92 kB / 0.4896 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.1743, allocations: 191.9 kB / 0.4898 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1743, allocations: 4 kB / 0.4898 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.1748, allocations: 79.91 kB / 0.4898 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.1749, allocations: 20 kB / 0.4899 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007131/0.1756, allocations: 369.1 kB / 0.4902 GB, free: 14.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006265/0.1762, allocations: 365.3 kB / 0.4906 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001098/0.1773, allocations: 0.5359 MB / 0.4911 GB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.1773, allocations: 0 / 0.4911 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001378/0.1787, allocations: 0.6592 MB / 0.4917 GB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1788, allocations: 8.031 kB / 0.4917 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1788, allocations: 4 kB / 0.4917 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.1788, allocations: 4 kB / 0.4918 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.1794, allocations: 167.8 kB / 0.4919 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1795, allocations: 11.88 kB / 0.4919 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.1799, allocations: 63.94 kB / 0.492 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.18, allocations: 20.12 kB / 0.492 GB, free: 12.6 MB / 382.1 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.0002106/0.1802, allocations: 208.1 kB / 0.4922 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.1803, allocations: 79.06 kB / 0.4923 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1805, allocations: 91.36 kB / 0.4924 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1805, allocations: 7.938 kB / 0.4924 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1806, allocations: 4 kB / 0.4924 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1806, allocations: 4 kB / 0.4924 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.1834, allocations: 1.456 MB / 0.4938 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.1834, allocations: 0 / 0.4938 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.1841, allocations: 151.8 kB / 0.4939 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1841, allocations: 0 / 0.4939 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.1841, allocations: 23.92 kB / 0.494 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1842, allocations: 0 / 0.494 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1842, allocations: 4 kB / 0.494 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.1868, allocations: 1.263 MB / 0.4952 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.187, allocations: 184.2 kB / 0.4954 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.1871, allocations: 12 kB / 0.4954 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.1876, allocations: 83.91 kB / 0.4955 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1878, allocations: 39.88 kB / 0.4955 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1878, allocations: 16 kB / 0.4955 GB, free: 8.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004167/0.1882, allocations: 407 kB / 0.4959 GB, free: 8.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1882, allocations: 0 / 0.4959 GB, free: 8.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006571/0.1889, allocations: 180 kB / 0.4961 GB, free: 8.305 MB / 382.1 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.0001483/0.1891, allocations: 115.1 kB / 0.4962 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.1916, allocations: 1.001 MB / 0.4972 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1917, allocations: 0 / 0.4972 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.1925, allocations: 356.2 kB / 0.4975 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.1937, allocations: 199.2 kB / 0.4977 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1961, allocations: 1.603 MB / 0.4993 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.1966, allocations: 0.9258 MB / 0.5002 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.1971, allocations: 84.8 kB / 0.5003 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1973, allocations: 59.41 kB / 0.5003 GB, free: 3.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1973, allocations: 7.875 kB / 0.5003 GB, free: 3.902 MB / 382.1 MB Notification: Performance of Templates: time 0.227/0.4243, allocations: 8.365 MB / 0.5085 GB, free: 41.8 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches