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.001152/0.001152, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 80.42 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1207, allocations: 62.45 MB / 481.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005005/0.1258, allocations: 3.538 MB / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.1289, allocations: 1.469 MB / 486.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.1297, allocations: 27.81 kB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.1302, allocations: 118.7 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.131, allocations: 146.6 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1324, allocations: 0.6307 MB / 487.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1337, allocations: 0.9327 MB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.1342, allocations: 296.6 kB / 488.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.1349, allocations: 374.4 kB / 489 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.1354, allocations: 366 kB / 489.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1356, allocations: 76 kB / 489.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1357, allocations: 76 kB / 489.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1359, allocations: 171.3 kB / 489.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.1362, allocations: 369.7 kB / 490 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008343/0.1371, allocations: 0.8405 MB / 490.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1371, allocations: 0 / 490.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1371, allocations: 0 / 490.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.1371, allocations: 3.938 kB / 490.8 MB, free: 11.08 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.002437/0.1396, allocations: 1.199 MB / 492 MB, free: 9.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1396, allocations: 8.031 kB / 492 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.1402, allocations: 143.8 kB / 492.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.1413, allocations: 0.6051 MB / 492.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.1413, allocations: 41.38 kB / 492.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1414, allocations: 52.36 kB / 492.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.1429, allocations: 0.7208 MB / 493.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.1429, allocations: 4 kB / 493.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.143, allocations: 20 kB / 493.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.143, allocations: 15.94 kB / 493.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.1444, allocations: 0.5658 MB / 494.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.148, allocations: 2.274 MB / 496.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1496, allocations: 0.7147 MB / 497.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.1504, allocations: 330.2 kB / 497.5 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.1505, allocations: 8.375 kB / 497.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1506, allocations: 42.94 kB / 497.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.434e-06/0.1506, allocations: 0 / 497.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00465/0.1552, allocations: 1.922 MB / 499.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1554, allocations: 247.8 kB / 499.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.1561, allocations: 0.567 MB / 0.4886 GB, free: 1.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.1562, allocations: 37.7 kB / 0.4886 GB, free: 1.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.1564, allocations: 356.8 kB / 0.489 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1566, allocations: 185.3 kB / 0.4891 GB, free: 0.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.1568, allocations: 110.2 kB / 0.4892 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1569, allocations: 322 kB / 0.4895 GB, free: 196 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/0.1577, allocations: 306.8 kB / 0.4898 GB, free: 15.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.1586, allocations: 431.6 kB / 0.4902 GB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.1601, allocations: 0.6553 MB / 0.4909 GB, free: 14.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1601, allocations: 4 kB / 0.4909 GB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00182/0.162, allocations: 0.7946 MB / 0.4917 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.162, allocations: 4 kB / 0.4917 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.162, allocations: 7.938 kB / 0.4917 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.162, allocations: 7.938 kB / 0.4917 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/0.1629, allocations: 192 kB / 0.4919 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.1629, allocations: 4 kB / 0.4919 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.1635, allocations: 79.91 kB / 0.4919 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.1635, allocations: 24 kB / 0.492 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007268/0.1643, allocations: 369 kB / 0.4923 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006279/0.1649, allocations: 361.4 kB / 0.4927 GB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001096/0.166, allocations: 0.5397 MB / 0.4932 GB, free: 12.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.166, allocations: 3.984 kB / 0.4932 GB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001431/0.1675, allocations: 0.6631 MB / 0.4938 GB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1675, allocations: 4 kB / 0.4938 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1675, allocations: 4 kB / 0.4939 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1675, allocations: 4 kB / 0.4939 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.1682, allocations: 167.8 kB / 0.494 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1682, allocations: 7.938 kB / 0.494 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.1687, allocations: 64 kB / 0.4941 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.1687, allocations: 16 kB / 0.4941 GB, free: 11.32 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.0002144/0.1689, allocations: 216.1 kB / 0.4943 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1691, allocations: 75.06 kB / 0.4944 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.1693, allocations: 87.42 kB / 0.4945 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1693, allocations: 11.94 kB / 0.4945 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1693, allocations: 0 / 0.4945 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.1693, allocations: 7.984 kB / 0.4945 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.1721, allocations: 1.46 MB / 0.4959 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1721, allocations: 0 / 0.4959 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.1728, allocations: 148 kB / 0.496 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.1728, allocations: 8 kB / 0.4961 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.1728, allocations: 11.98 kB / 0.4961 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.1729, allocations: 4 kB / 0.4961 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1729, allocations: 0 / 0.4961 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.1755, allocations: 1.257 MB / 0.4973 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.1758, allocations: 188.2 kB / 0.4975 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1759, allocations: 12 kB / 0.4975 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/0.1765, allocations: 79.91 kB / 0.4976 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.1767, allocations: 47.88 kB / 0.4976 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.1767, allocations: 15.98 kB / 0.4976 GB, free: 7.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005329/0.1773, allocations: 403.1 kB / 0.498 GB, free: 7.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1773, allocations: 0 / 0.498 GB, free: 7.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007565/0.178, allocations: 180 kB / 0.4982 GB, free: 7.027 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.0001506/0.1782, allocations: 119.2 kB / 0.4983 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.1806, allocations: 0.9812 MB / 0.4993 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.1806, allocations: 4 kB / 0.4993 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.1815, allocations: 356.2 kB / 0.4996 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.1827, allocations: 201.2 kB / 0.4998 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.1851, allocations: 1.326 MB / 0.5011 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.1855, allocations: 0.9219 MB / 0.502 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.186, allocations: 97.05 kB / 0.5021 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1862, allocations: 59.42 kB / 0.5021 GB, free: 2.922 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1862, allocations: 0 / 0.5021 GB, free: 2.922 MB / 382.1 MB Notification: Performance of Templates: time 0.2101/0.3963, allocations: 8.641 MB / 0.5106 GB, free: 39.84 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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches