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.001551/0.001551, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 81.39 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1334, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005679/0.1391, allocations: 3.55 MB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.142, allocations: 1.446 MB / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.1426, allocations: 23.88 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.143, allocations: 87.17 kB / 484.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006955/0.1437, allocations: 123 kB / 484.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1453, allocations: 0.5798 MB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.1467, allocations: 0.8742 MB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.1473, allocations: 288.8 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/0.1481, allocations: 330.3 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.1487, allocations: 342 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1488, allocations: 36 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.149, allocations: 40 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1492, allocations: 147.2 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.1496, allocations: 325.8 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008874/0.1505, allocations: 0.7588 MB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1505, allocations: 0 / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1505, allocations: 0 / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.592e-05/0.1505, allocations: 0 / 488.2 MB, free: 12.78 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.003/0.1535, allocations: 1.215 MB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.1536, allocations: 8.875 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.1543, allocations: 131.8 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.1551, allocations: 0.5661 MB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.1552, allocations: 41.38 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.1553, allocations: 52.36 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1568, allocations: 0.7208 MB / 490.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1569, allocations: 4 kB / 490.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.1569, allocations: 23.98 kB / 491 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.157, allocations: 12 kB / 491 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.1584, allocations: 0.5619 MB / 491.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.1623, allocations: 2.29 MB / 493.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.1641, allocations: 0.7137 MB / 494.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/0.1649, allocations: 330.2 kB / 494.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.165, allocations: 16.42 kB / 494.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.1651, allocations: 38.94 kB / 494.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/0.1651, allocations: 0 / 494.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004674/0.1697, allocations: 1.922 MB / 496.8 MB, free: 3.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1699, allocations: 243.8 kB / 497.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.1706, allocations: 0.5748 MB / 497.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.1707, allocations: 37.7 kB / 497.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.171, allocations: 356.8 kB / 498 MB, free: 2.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1711, allocations: 181.3 kB / 498.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.1713, allocations: 106.2 kB / 498.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1714, allocations: 330 kB / 498.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.1723, allocations: 306.9 kB / 498.9 MB, free: 1.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/0.1732, allocations: 431.6 kB / 499.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.1748, allocations: 0.6553 MB / 0.4883 GB, free: 460 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1748, allocations: 4 kB / 0.4883 GB, free: 456 kB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001911/0.1767, allocations: 0.7867 MB / 0.4891 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1768, allocations: 8 kB / 0.4891 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1768, allocations: 4.25 kB / 0.4891 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1768, allocations: 11.94 kB / 0.4891 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.1777, allocations: 191.7 kB / 0.4893 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.1777, allocations: 4 kB / 0.4893 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.1783, allocations: 79.92 kB / 0.4893 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.1783, allocations: 23.98 kB / 0.4894 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007697/0.1791, allocations: 361.1 kB / 0.4897 GB, free: 14.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006674/0.1798, allocations: 369.3 kB / 0.4901 GB, free: 14.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.181, allocations: 0.5397 MB / 0.4906 GB, free: 13.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.181, allocations: 0 / 0.4906 GB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001486/0.1825, allocations: 0.6629 MB / 0.4912 GB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1826, allocations: 4 kB / 0.4912 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1826, allocations: 7.938 kB / 0.4913 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.1826, allocations: 4 kB / 0.4913 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.1833, allocations: 168 kB / 0.4914 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1833, allocations: 15.92 kB / 0.4914 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.1838, allocations: 55.95 kB / 0.4915 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1839, allocations: 23.98 kB / 0.4915 GB, free: 13.04 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.000259/0.1841, allocations: 216.1 kB / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.1843, allocations: 75.06 kB / 0.4918 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.1845, allocations: 87.42 kB / 0.4919 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1845, allocations: 7.938 kB / 0.4919 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.1846, allocations: 0 / 0.4919 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1846, allocations: 0 / 0.4919 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.1875, allocations: 1.46 MB / 0.4933 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1875, allocations: 0 / 0.4933 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.1884, allocations: 147.8 kB / 0.4934 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.1884, allocations: 8.062 kB / 0.4935 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.1885, allocations: 11.98 kB / 0.4935 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1885, allocations: 4 kB / 0.4935 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1885, allocations: 0 / 0.4935 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.1913, allocations: 1.26 MB / 0.4947 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.1916, allocations: 188.3 kB / 0.4949 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1917, allocations: 16 kB / 0.4949 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.1923, allocations: 79.84 kB / 0.495 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.1924, allocations: 47.88 kB / 0.495 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.1925, allocations: 19.98 kB / 0.495 GB, free: 9.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004931/0.193, allocations: 403.1 kB / 0.4954 GB, free: 8.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.193, allocations: 0 / 0.4954 GB, free: 8.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007373/0.1937, allocations: 183.9 kB / 0.4956 GB, free: 8.742 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.0001552/0.1939, allocations: 111.1 kB / 0.4957 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.1964, allocations: 0.9775 MB / 0.4967 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1965, allocations: 0 / 0.4967 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.1973, allocations: 356.1 kB / 0.497 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.1985, allocations: 176.7 kB / 0.4972 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.2012, allocations: 1.609 MB / 0.4987 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.2017, allocations: 0.9143 MB / 0.4996 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.2022, allocations: 101 kB / 0.4997 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.2024, allocations: 55.42 kB / 0.4998 GB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2024, allocations: 0 / 0.4998 GB, free: 4.383 MB / 382.1 MB Notification: Performance of Templates: time 0.2378/0.4403, allocations: 7.994 MB / 0.5076 GB, free: 40.69 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