Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_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.001223/0.001223, allocations: 104.5 kB / 16.27 MB, free: 5.984 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.001288/0.001288, allocations: 195.1 kB / 17.2 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 65.64 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003904/0.1243, allocations: 3.56 MB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1266, allocations: 1.435 MB / 445.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/0.127, allocations: 23.88 kB / 445.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1274, allocations: 122.6 kB / 445.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.128, allocations: 162.5 kB / 445.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1291, allocations: 0.5879 MB / 446.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000838/0.13, allocations: 0.9405 MB / 447.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.1305, allocations: 308.5 kB / 447.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.1311, allocations: 362.5 kB / 448.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.1315, allocations: 374 kB / 448.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1317, allocations: 72 kB / 448.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1318, allocations: 72 kB / 448.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.132, allocations: 175.3 kB / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.1324, allocations: 369.7 kB / 449.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009902/0.1334, allocations: 0.8019 MB / 449.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1334, allocations: 0 / 449.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.688e-06/0.1334, allocations: 0 / 449.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.1334, allocations: 3.938 kB / 449.9 MB, free: 13.43 MB / 334.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.002404/0.1358, allocations: 1.211 MB / 451.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.1359, allocations: 19.89 kB / 451.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.136, allocations: 86.72 kB / 451.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1362, allocations: 99.73 kB / 451.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.137, allocations: 0.57 MB / 451.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.1371, allocations: 41.38 kB / 452 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1372, allocations: 52.28 kB / 452 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.1386, allocations: 0.7072 MB / 452.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1387, allocations: 4 kB / 452.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.1387, allocations: 20 kB / 452.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.1388, allocations: 12 kB / 452.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.1403, allocations: 0.5581 MB / 453.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.1438, allocations: 2.294 MB / 455.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.1456, allocations: 0.7158 MB / 456.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008631/0.1465, allocations: 326.2 kB / 456.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.475e-05/0.1466, allocations: 20.36 kB / 456.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.1466, allocations: 42.94 kB / 456.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.756e-06/0.1467, allocations: 0 / 456.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.00469/0.1513, allocations: 1.925 MB / 458.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.1515, allocations: 188.4 kB / 458.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.1522, allocations: 0.5826 MB / 459.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.1522, allocations: 41.64 kB / 459.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.1525, allocations: 360.8 kB / 459.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1527, allocations: 181.4 kB / 460 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.1529, allocations: 110.2 kB / 460.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.153, allocations: 322 kB / 460.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008395/0.1538, allocations: 302.9 kB / 460.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009162/0.1548, allocations: 418 kB / 461.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.1564, allocations: 0.6512 MB / 461.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1565, allocations: 4 kB / 461.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001897/0.1584, allocations: 0.7945 MB / 462.5 MB, free: 340 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1584, allocations: 4 kB / 462.5 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1584, allocations: 7.984 kB / 462.6 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1584, allocations: 7.938 kB / 462.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/0.1593, allocations: 192 kB / 462.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1593, allocations: 4 kB / 462.8 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.1599, allocations: 87.81 kB / 462.8 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.1599, allocations: 20 kB / 462.9 MB, free: 16 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007458/0.1607, allocations: 361.1 kB / 463.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006711/0.1614, allocations: 351.6 kB / 463.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001221/0.1626, allocations: 0.5436 MB / 464.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.1626, allocations: 4 kB / 464.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001465/0.1641, allocations: 0.6553 MB / 464.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1641, allocations: 8 kB / 464.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1641, allocations: 0 / 464.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.1641, allocations: 8 kB / 464.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.1648, allocations: 171.7 kB / 464.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1648, allocations: 4 kB / 464.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.1653, allocations: 59.98 kB / 465 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1653, allocations: 19.98 kB / 465 MB, free: 13.75 MB / 350.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.0002108/0.1656, allocations: 220 kB / 465.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.1657, allocations: 79.38 kB / 465.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.1659, allocations: 91.45 kB / 465.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1659, allocations: 8 kB / 465.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1659, allocations: 3.984 kB / 465.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1659, allocations: 0 / 465.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.1687, allocations: 1.453 MB / 466.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1687, allocations: 0 / 466.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.1694, allocations: 147.9 kB / 467 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.1694, allocations: 4 kB / 467 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.1695, allocations: 19.92 kB / 467 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1695, allocations: 4 kB / 467 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1695, allocations: 0 / 467 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.1722, allocations: 1.252 MB / 468.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.1724, allocations: 192.1 kB / 468.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.1725, allocations: 12 kB / 468.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.1731, allocations: 79.91 kB / 468.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1732, allocations: 51.81 kB / 468.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.1733, allocations: 12 kB / 468.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004272/0.1737, allocations: 411 kB / 469 MB, free: 9.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1737, allocations: 0 / 469 MB, free: 9.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006303/0.1743, allocations: 180 kB / 469.2 MB, free: 9.449 MB / 350.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.003049/0.1774, allocations: 1.808 MB / 471 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.18, allocations: 1.001 MB / 472 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.18, allocations: 0 / 472 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008769/0.1809, allocations: 355.8 kB / 472.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.1821, allocations: 219.1 kB / 472.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.1939, allocations: 6.595 MB / 479.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.1945, allocations: 0.9297 MB / 480.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004859/0.195, allocations: 88.89 kB / 480.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.1955, allocations: 283.3 kB / 480.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1955, allocations: 0 / 480.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.2368, allocations: 15.44 MB / 495.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.396, allocations: 4.062 kB / 495.9 MB, free: 14.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches