Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestInternal",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.01171/0.01172, allocations: 107.2 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.001322/0.001321, allocations: 181.6 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.18/2.18, allocations: 194.5 MB / 211.3 MB, free: 11.06 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.2988/0.2988, allocations: 40.04 MB / 296.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004708, allocations: 8 kB / 361.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 54.88 MB / 416 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0006381/0.1209, allocations: 212.5 kB / 416.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.1217, allocations: 237 kB / 416.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.1217, allocations: 4 kB / 416.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.1217, allocations: 0 / 416.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.1217, allocations: 0 / 416.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.122, allocations: 39.83 kB / 416.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.675e-05/0.1221, allocations: 7.984 kB / 416.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.1221, allocations: 3.938 kB / 416.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.1222, allocations: 4 kB / 416.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.391e-05/0.1222, allocations: 0 / 416.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.1222, allocations: 0 / 416.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1224, allocations: 47.89 kB / 416.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.1224, allocations: 0 / 416.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.1224, allocations: 33.7 kB / 416.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1225, allocations: 31.95 kB / 416.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1226, allocations: 0 / 416.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1226, allocations: 0 / 416.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1226, allocations: 0 / 416.6 MB, free: 1.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003656/0.123, allocations: 353.1 kB / 417 MB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.123, allocations: 11.97 kB / 417 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1231, allocations: 30.56 kB / 417 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.1231, allocations: 0 / 417 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1232, allocations: 167.1 kB / 417.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1232, allocations: 4 kB / 417.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1233, allocations: 3.938 kB / 417.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.1234, allocations: 33.66 kB / 417.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1234, allocations: 0 / 417.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1234, allocations: 0 / 417.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1234, allocations: 0 / 417.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.1234, allocations: 0 / 417.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.1236, allocations: 149.7 kB / 417.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.1237, allocations: 26.59 kB / 417.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1237, allocations: 3.938 kB / 417.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.1237, allocations: 56.27 kB / 417.4 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.1238, allocations: 0 / 417.4 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002015/0.124, allocations: 71.41 kB / 417.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.124, allocations: 81.11 kB / 417.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.1241, allocations: 89.86 kB / 417.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1241, allocations: 29.83 kB / 417.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.1242, allocations: 80.14 kB / 417.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1242, allocations: 3.906 kB / 417.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.1242, allocations: 0 / 417.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1243, allocations: 310.8 kB / 418.1 MB, free: 272 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.1244, allocations: 0 / 418.1 MB, free: 272 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.1244, allocations: 7.938 kB / 418.1 MB, free: 264 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.1244, allocations: 29.7 kB / 418.1 MB, free: 228 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1244, allocations: 0 / 418.1 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.775e-05/0.1245, allocations: 67.45 kB / 418.2 MB, free: 148 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.1246, allocations: 32.67 kB / 418.2 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1246, allocations: 3.938 kB / 418.2 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1246, allocations: 4 kB / 418.2 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.1247, allocations: 0 / 418.2 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1247, allocations: 3.953 kB / 418.2 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.1247, allocations: 0 / 418.2 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1247, allocations: 0 / 418.2 MB, free: 100 kB / 346.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001601/0.1249, allocations: 147.5 kB / 418.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.1249, allocations: 0 / 418.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.1249, allocations: 7.078 kB / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1249, allocations: 0 / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.125, allocations: 0 / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.125, allocations: 3.953 kB / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1251, allocations: 149.7 kB / 418.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1252, allocations: 3.984 kB / 418.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.1252, allocations: 0 / 418.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1252, allocations: 3.938 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1252, allocations: 0 / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1252, allocations: 4 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1252, allocations: 4 kB / 418.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1254, allocations: 90.78 kB / 418.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.1254, allocations: 77.11 kB / 418.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1255, allocations: 8 kB / 418.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.1255, allocations: 0 / 418.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.1255, allocations: 0 / 418.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1255, allocations: 4.031 kB / 418.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.272e-05/0.1256, allocations: 75.28 kB / 418.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1256, allocations: 0 / 418.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000308/0.1259, allocations: 27.98 kB / 418.8 MB, free: 15.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001013/0.1269, allocations: 0.8035 MB / 419.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.127, allocations: 63.41 kB / 419.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1271, allocations: 0 / 419.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.1271, allocations: 51.41 kB / 419.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.1272, allocations: 8.062 kB / 419.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.1276, allocations: 120.4 kB / 419.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1278, allocations: 0.6809 MB / 420.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.801e-06/0.1279, allocations: 0 / 420.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1279, allocations: 7.438 kB / 420.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1279, allocations: 0 / 420.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.151, allocations: 1.385 MB / 422 MB, free: 12.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.1514, allocations: 208 kB / 422.2 MB, free: 12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.482, allocations: 0 / 422.2 MB, free: 12 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat