Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01628/0.01629, allocations: 108.4 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001935/0.001935, allocations: 179.5 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.049/2.049, allocations: 194.6 MB / 211.3 MB, free: 10.94 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3006/0.3006, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.000487, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1124, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004645/0.1171, allocations: 2.689 MB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1201, allocations: 1.112 MB / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.1206, allocations: 19.88 kB / 419.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.1207, allocations: 47.52 kB / 419.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.1214, allocations: 147.5 kB / 420 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1228, allocations: 403.2 kB / 420.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1239, allocations: 0.5043 MB / 420.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.1244, allocations: 192.4 kB / 421.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.1249, allocations: 262.9 kB / 421.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.1253, allocations: 250.6 kB / 421.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.24e-05/0.1254, allocations: 24 kB / 421.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.1255, allocations: 20 kB / 421.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1257, allocations: 95.52 kB / 421.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1258, allocations: 125.3 kB / 421.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.1266, allocations: 0.4912 MB / 422.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1266, allocations: 0 / 422.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1266, allocations: 0 / 422.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1266, allocations: 0 / 422.4 MB, free: 12.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00336/0.13, allocations: 1.024 MB / 423.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1301, allocations: 15.97 kB / 423.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.1302, allocations: 74.53 kB / 423.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.1304, allocations: 82.97 kB / 423.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.1314, allocations: 482.6 kB / 424 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.1314, allocations: 33 kB / 424.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.1316, allocations: 43.95 kB / 424.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.1338, allocations: 0.638 MB / 424.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.1339, allocations: 3.906 kB / 424.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.134, allocations: 16 kB / 424.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.134, allocations: 12 kB / 424.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.1367, allocations: 0.5895 MB / 425.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.1411, allocations: 1.531 MB / 426.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.1447, allocations: 0.8229 MB / 427.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/0.1448, allocations: 8 kB / 427.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1448, allocations: 38.56 kB / 427.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.537e-06/0.1448, allocations: 0 / 427.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.008625/0.1535, allocations: 2.076 MB / 429.8 MB, free: 4.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.1536, allocations: 187.9 kB / 430 MB, free: 4.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.1545, allocations: 471.1 kB / 430.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.975e-05/0.1546, allocations: 37.7 kB / 430.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.1549, allocations: 292.5 kB / 430.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.1551, allocations: 165.6 kB / 431 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1552, allocations: 8 kB / 431 MB, free: 3.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1554, allocations: 374.8 kB / 431.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.157, allocations: 324.9 kB / 431.7 MB, free: 2.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.1586, allocations: 406.9 kB / 432.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.1602, allocations: 332.7 kB / 432.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1603, allocations: 0 / 432.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003597/0.1639, allocations: 0.8192 MB / 433.2 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.164, allocations: 187.7 kB / 433.4 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1641, allocations: 4 kB / 433.4 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1641, allocations: 0 / 433.4 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.1657, allocations: 207.8 kB / 433.6 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.1657, allocations: 4 kB / 433.6 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/0.1667, allocations: 99.92 kB / 433.7 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/0.1668, allocations: 19.98 kB / 433.7 MB, free: 424 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1668, allocations: 7.938 kB / 433.7 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002357/0.1692, allocations: 0.5412 MB / 434.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1693, allocations: 4 kB / 434.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1693, allocations: 4 kB / 434.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.1706, allocations: 159.8 kB / 434.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1706, allocations: 7.938 kB / 434.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/0.1714, allocations: 71.94 kB / 434.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.1715, allocations: 15.95 kB / 434.5 MB, free: 15.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004344/0.1719, allocations: 249.1 kB / 434.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.1721, allocations: 59.25 kB / 434.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1723, allocations: 77.94 kB / 434.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1724, allocations: 4.328 kB / 434.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.1724, allocations: 4 kB / 434.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.1724, allocations: 3.984 kB / 434.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.1771, allocations: 1.485 MB / 436.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.1772, allocations: 0 / 436.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.1786, allocations: 175.8 kB / 436.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.1787, allocations: 4 kB / 436.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.1787, allocations: 11.98 kB / 436.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.1788, allocations: 4 kB / 436.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1788, allocations: 7.938 kB / 436.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/0.1841, allocations: 1.401 MB / 438 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.1845, allocations: 176.3 kB / 438.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.1846, allocations: 12 kB / 438.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.1857, allocations: 107.9 kB / 438.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.1858, allocations: 43.94 kB / 438.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.1859, allocations: 19.94 kB / 438.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005901/0.1865, allocations: 330.8 kB / 438.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1865, allocations: 4 kB / 438.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008969/0.1874, allocations: 156 kB / 438.8 MB, free: 11.17 MB / 378.7 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005728/0.1932, allocations: 2.16 MB / 441 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.1978, allocations: 1.027 MB / 442 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.1979, allocations: 4 kB / 442 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.1997, allocations: 404 kB / 442.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.2009, allocations: 135.8 kB / 442.5 MB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.2148, allocations: 4.418 MB / 447 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.2155, allocations: 0.8985 MB / 447.9 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006479/0.2162, allocations: 80.61 kB / 447.9 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.2168, allocations: 227.3 kB / 448.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2168, allocations: 0 / 448.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.337/0.5539, allocations: 12.01 MB / 460.2 MB, free: 58.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.5542, allocations: 161.2 kB / 460.3 MB, free: 58.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/3.632, allocations: 3.938 kB / 460.3 MB, free: 58.07 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat