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: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00114/0.00114, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.348/1.348, allocations: 222.9 MB / 242.3 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.2023/0.2023, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.27 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 60.82 MB / 469.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004914/0.1141, allocations: 3.52 MB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1166, allocations: 1.387 MB / 474.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.117, allocations: 23.88 kB / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1173, allocations: 114.7 kB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.1178, allocations: 158.6 kB / 474.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1189, allocations: 0.6091 MB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.1198, allocations: 0.9211 MB / 476.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.1203, allocations: 304.7 kB / 476.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.1207, allocations: 358.5 kB / 476.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.121, allocations: 366 kB / 477.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.1211, allocations: 72 kB / 477.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.1212, allocations: 72 kB / 477.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1214, allocations: 167.3 kB / 477.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.1217, allocations: 373.7 kB / 477.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.1224, allocations: 0.798 MB / 478.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1224, allocations: 0 / 478.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1224, allocations: 0 / 478.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1224, allocations: 0 / 478.5 MB, free: 5.031 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.00208/0.1245, allocations: 1.191 MB / 479.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1245, allocations: 12.03 kB / 479.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.1247, allocations: 90.64 kB / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.1248, allocations: 91.81 kB / 479.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.1255, allocations: 0.5506 MB / 480.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.1256, allocations: 41.38 kB / 480.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.1256, allocations: 52.28 kB / 480.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1271, allocations: 0.7111 MB / 481.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1271, allocations: 0 / 481.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.1272, allocations: 24 kB / 481.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1272, allocations: 15.94 kB / 481.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1287, allocations: 0.5581 MB / 481.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.1319, allocations: 2.286 MB / 484.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.1337, allocations: 0.7326 MB / 484.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/0.1345, allocations: 326.2 kB / 485.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.1345, allocations: 8.438 kB / 485.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1346, allocations: 38.94 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.1346, allocations: 0 / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004741/0.1393, allocations: 1.918 MB / 487.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.1395, allocations: 196.3 kB / 487.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.1401, allocations: 0.5629 MB / 487.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.1402, allocations: 37.7 kB / 488 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.1405, allocations: 352.7 kB / 488.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.1406, allocations: 181.4 kB / 488.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1408, allocations: 110.1 kB / 488.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1409, allocations: 382.8 kB / 489 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008334/0.1418, allocations: 298.9 kB / 489.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/0.1427, allocations: 414 kB / 489.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.1444, allocations: 0.6589 MB / 490.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1444, allocations: 0 / 490.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001987/0.1464, allocations: 0.7985 MB / 491.1 MB, free: 7.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1464, allocations: 8 kB / 491.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1464, allocations: 0 / 491.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1465, allocations: 12.19 kB / 491.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.1474, allocations: 191.7 kB / 491.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1474, allocations: 4 kB / 491.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.1479, allocations: 79.91 kB / 491.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.148, allocations: 23.98 kB / 491.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007708/0.1488, allocations: 361.1 kB / 491.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006696/0.1494, allocations: 347.6 kB / 492.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/0.1507, allocations: 0.5516 MB / 492.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.1507, allocations: 0 / 492.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001502/0.1522, allocations: 0.659 MB / 493.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1522, allocations: 8 kB / 493.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1522, allocations: 0 / 493.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.1523, allocations: 8 kB / 493.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.1529, allocations: 171.9 kB / 493.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.153, allocations: 4 kB / 493.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.1534, allocations: 59.94 kB / 493.6 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.1535, allocations: 16 kB / 493.6 MB, free: 5.367 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.0001986/0.1537, allocations: 216.1 kB / 493.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.1538, allocations: 71.06 kB / 493.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.154, allocations: 91.2 kB / 494 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1541, allocations: 8 kB / 494 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1541, allocations: 0 / 494 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1541, allocations: 3.984 kB / 494 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.1569, allocations: 1.46 MB / 495.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.157, allocations: 0 / 495.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/0.1577, allocations: 147.8 kB / 495.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.1577, allocations: 4 kB / 495.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.1578, allocations: 15.98 kB / 495.6 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1578, allocations: 8.062 kB / 495.6 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1578, allocations: 0 / 495.6 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.1606, allocations: 1.244 MB / 496.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.1609, allocations: 188.1 kB / 497 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.161, allocations: 16 kB / 497.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.1615, allocations: 75.91 kB / 497.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1617, allocations: 47.81 kB / 497.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.1617, allocations: 27.94 kB / 497.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.1622, allocations: 395.1 kB / 497.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1622, allocations: 0 / 497.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000665/0.1628, allocations: 180 kB / 497.8 MB, free: 1.086 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.002969/0.1658, allocations: 1.797 MB / 499.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.1686, allocations: 1.001 MB / 0.4888 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1686, allocations: 0 / 0.4888 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009209/0.1695, allocations: 360 kB / 0.4892 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.1707, allocations: 210.1 kB / 0.4894 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.1832, allocations: 6.485 MB / 0.4957 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.1839, allocations: 0.9218 MB / 0.4966 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005819/0.1845, allocations: 88.8 kB / 0.4967 GB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.185, allocations: 279.3 kB / 0.497 GB, free: 5.742 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.185, allocations: 0 / 0.497 GB, free: 5.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/0.4095, allocations: 15.19 MB / 0.5118 GB, free: 48.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.523, allocations: 8.453 kB / 0.5118 GB, free: 48.36 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.csv","/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