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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 69.31 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004666/0.1076, allocations: 3.516 MB / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1102, allocations: 1.379 MB / 474.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.1106, allocations: 31.75 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1109, allocations: 114.7 kB / 475 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.1115, allocations: 154.5 kB / 475.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1126, allocations: 0.6021 MB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000876/0.1135, allocations: 0.9289 MB / 476.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.1139, allocations: 296.8 kB / 476.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.1144, allocations: 366.5 kB / 477.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1147, allocations: 358.1 kB / 477.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1149, allocations: 72 kB / 477.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.115, allocations: 76 kB / 477.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1151, allocations: 175.3 kB / 478 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.1154, allocations: 361.8 kB / 478.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.1161, allocations: 0.7979 MB / 479.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1161, allocations: 0 / 479.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1161, allocations: 4 kB / 479.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1161, allocations: 0 / 479.1 MB, free: 5.152 MB / 350.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.002151/0.1183, allocations: 1.195 MB / 480.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1183, allocations: 8.031 kB / 480.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1185, allocations: 91.81 kB / 480.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.1192, allocations: 0.5545 MB / 481 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.1193, allocations: 37.38 kB / 481 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.1193, allocations: 56.36 kB / 481 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.1207, allocations: 0.6996 MB / 481.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1208, allocations: 7.906 kB / 481.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.1208, allocations: 20 kB / 481.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1209, allocations: 12 kB / 481.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1223, allocations: 0.5581 MB / 482.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.1255, allocations: 2.302 MB / 484.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.1273, allocations: 0.721 MB / 485.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/0.1282, allocations: 326.2 kB / 485.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.1282, allocations: 8.375 kB / 485.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.1283, allocations: 46.92 kB / 485.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.1283, allocations: 0 / 485.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004646/0.133, allocations: 1.926 MB / 487.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.1331, allocations: 188.4 kB / 487.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.1337, allocations: 0.5629 MB / 488.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.1338, allocations: 33.7 kB / 488.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.134, allocations: 356.8 kB / 488.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.1342, allocations: 181.4 kB / 489 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.1343, allocations: 102.2 kB / 489.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1345, allocations: 382.8 kB / 489.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008527/0.1354, allocations: 302.9 kB / 489.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.1363, allocations: 417.9 kB / 490.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.1379, allocations: 0.655 MB / 490.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1379, allocations: 0 / 490.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001953/0.1399, allocations: 0.7948 MB / 491.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1399, allocations: 7.984 kB / 491.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1399, allocations: 4 kB / 491.6 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1399, allocations: 7.938 kB / 491.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/0.1408, allocations: 187.7 kB / 491.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1408, allocations: 12.02 kB / 491.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.1414, allocations: 79.91 kB / 491.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.1414, allocations: 16 kB / 491.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007542/0.1422, allocations: 369.1 kB / 492.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006484/0.1429, allocations: 359.6 kB / 492.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.1441, allocations: 0.5323 MB / 493.2 MB, free: 6.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.1441, allocations: 3.938 kB / 493.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001476/0.1455, allocations: 0.6629 MB / 493.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1456, allocations: 4 kB / 493.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1456, allocations: 7.938 kB / 493.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.1456, allocations: 4.25 kB / 493.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.1463, allocations: 163.8 kB / 494 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1463, allocations: 15.88 kB / 494 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.1468, allocations: 55.95 kB / 494.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.1469, allocations: 23.98 kB / 494.1 MB, free: 5.578 MB / 366.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.0002277/0.1471, allocations: 208.1 kB / 494.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1472, allocations: 79.06 kB / 494.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1474, allocations: 79.28 kB / 494.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1475, allocations: 11.92 kB / 494.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1475, allocations: 0 / 494.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1475, allocations: 0 / 494.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.1502, allocations: 1.456 MB / 495.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1503, allocations: 0 / 495.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.151, allocations: 155.9 kB / 496.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.151, allocations: 7.938 kB / 496.1 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.1511, allocations: 16 kB / 496.1 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1511, allocations: 3.984 kB / 496.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1511, allocations: 4 kB / 496.1 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.1538, allocations: 1.248 MB / 497.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.1541, allocations: 188.1 kB / 497.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.1542, allocations: 15.98 kB / 497.5 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.1548, allocations: 71.92 kB / 497.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.1549, allocations: 47.88 kB / 497.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.1549, allocations: 15.98 kB / 497.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.1554, allocations: 403 kB / 498.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1554, allocations: 0 / 498.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006904/0.1561, allocations: 180 kB / 498.2 MB, free: 1.305 MB / 366.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.0001509/0.1562, allocations: 111.1 kB / 498.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.1589, allocations: 1.005 MB / 499.4 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1589, allocations: 0 / 499.4 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.1598, allocations: 351.8 kB / 499.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.161, allocations: 213.2 kB / 499.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.1644, allocations: 1.539 MB / 0.4897 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.1649, allocations: 0.9218 MB / 0.4906 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.1651, allocations: 59.41 kB / 0.4907 GB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1651, allocations: 0 / 0.4907 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01284/0.178, allocations: 8.772 MB / 0.4992 GB, free: 4.316 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches