Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.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.Limiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Limiters",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.01635/0.01635, allocations: 108.5 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.002227/0.002227, allocations: 181.4 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.084/2.084, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.2973/0.2973, allocations: 40.04 MB / 296.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000647/0.0006473, allocations: 12 kB / 361.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1286, allocations: 54.89 MB / 416 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002296/0.1309, allocations: 1.308 MB / 417.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1322, allocations: 0.5393 MB / 417.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.1323, allocations: 3.938 kB / 417.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.1324, allocations: 11.86 kB / 417.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1325, allocations: 11.98 kB / 417.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.1331, allocations: 95.81 kB / 418 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1332, allocations: 75.84 kB / 418.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1334, allocations: 33.02 kB / 418.1 MB, free: 500 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1335, allocations: 55.83 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1337, allocations: 43.83 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.1337, allocations: 8 kB / 418.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.1338, allocations: 4 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1338, allocations: 31.89 kB / 418.2 MB, free: 356 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.1339, allocations: 41.64 kB / 418.3 MB, free: 308 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.134, allocations: 80.05 kB / 418.4 MB, free: 228 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1341, allocations: 7.938 kB / 418.4 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1341, allocations: 0 / 418.4 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1341, allocations: 0 / 418.4 MB, free: 220 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008681/0.135, allocations: 430.9 kB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.135, allocations: 8.031 kB / 418.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.1351, allocations: 42.56 kB / 418.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.1351, allocations: 15.81 kB / 418.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1355, allocations: 218.7 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1355, allocations: 0 / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1355, allocations: 16 kB / 419.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.1362, allocations: 180.2 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1363, allocations: 0 / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1363, allocations: 0 / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1363, allocations: 4 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007759/0.1371, allocations: 163.8 kB / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.1384, allocations: 464.4 kB / 419.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1396, allocations: 246.5 kB / 420.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1396, allocations: 0 / 420.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1396, allocations: 38.56 kB / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.1397, allocations: 0 / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.002608/0.1423, allocations: 0.6539 MB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.1424, allocations: 106.8 kB / 420.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1426, allocations: 150.2 kB / 421.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1426, allocations: 29.7 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1427, allocations: 104.1 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.1428, allocations: 31.69 kB / 421.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.1428, allocations: 8 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1429, allocations: 318.8 kB / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.1434, allocations: 83.94 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.1438, allocations: 114.5 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.1443, allocations: 87.91 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1443, allocations: 4 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009643/0.1453, allocations: 221.3 kB / 422 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/0.1454, allocations: 96.95 kB / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1454, allocations: 0 / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1454, allocations: 0 / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.1458, allocations: 47.95 kB / 422.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1458, allocations: 0 / 422.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.1461, allocations: 39.97 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1461, allocations: 0 / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1461, allocations: 4 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004023/0.1465, allocations: 95.89 kB / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.1466, allocations: 0 / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.1466, allocations: 0 / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1468, allocations: 27.98 kB / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1468, allocations: 0 / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1469, allocations: 19.92 kB / 422.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.147, allocations: 4 kB / 422.4 MB, free: 11.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.0001879/0.1472, allocations: 201 kB / 422.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.1472, allocations: 15.89 kB / 422.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.1473, allocations: 12.72 kB / 422.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1473, allocations: 384 / 422.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1473, allocations: 0 / 422.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1473, allocations: 4 kB / 422.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1489, allocations: 0.5538 MB / 423.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1489, allocations: 3.938 kB / 423.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1492, allocations: 39.97 kB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-06/0.1493, allocations: 4 kB / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1493, allocations: 0 / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1493, allocations: 4.031 kB / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1493, allocations: 0 / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1508, allocations: 437.7 kB / 423.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.1509, allocations: 81.02 kB / 423.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1509, allocations: 4 kB / 423.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.1515, allocations: 56.02 kB / 423.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.1516, allocations: 15.88 kB / 423.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.1516, allocations: 7.984 kB / 423.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1517, allocations: 114.7 kB / 423.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1517, allocations: 0 / 423.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004302/0.1522, allocations: 32 kB / 423.9 MB, free: 10.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001824/0.154, allocations: 1.018 MB / 424.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1552, allocations: 240.2 kB / 425.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1552, allocations: 0 / 425.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.1557, allocations: 99.92 kB / 425.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1561, allocations: 20.08 kB / 425.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.159, allocations: 0.9799 MB / 426.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1593, allocations: 0.7006 MB / 427 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.1595, allocations: 20.53 kB / 427 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.1596, allocations: 39.42 kB / 427 MB, free: 7.008 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1597, allocations: 0 / 427 MB, free: 7.008 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1864, allocations: 3.055 MB / 430.1 MB, free: 4.027 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/0.1868, allocations: 166.4 kB / 430.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/2.719, allocations: 0 / 430.3 MB, free: 3.781 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat