Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01118/0.01119, allocations: 104.9 kB / 15.05 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.1.mo): time 0.001257/0.001258, allocations: 167.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.753/1.753, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.258/0.258, allocations: 38.09 MB / 265.1 MB, free: 3.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006369/0.0006372, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09377, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0008024/0.09462, allocations: 268.4 kB / 372.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.09493, allocations: 65.41 kB / 372.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.09498, allocations: 4 kB / 372.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.09501, allocations: 3.938 kB / 372.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.09523, allocations: 15.92 kB / 372.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.861e-05/0.09526, allocations: 0 / 372.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.09532, allocations: 4 kB / 372.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.09538, allocations: 0 / 372.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.09541, allocations: 4 kB / 372.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.09547, allocations: 15.91 kB / 372.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.09549, allocations: 0 / 372.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.09559, allocations: 15.98 kB / 372.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.09561, allocations: 8 kB / 372.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.09565, allocations: 25.7 kB / 372.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.078e-05/0.09573, allocations: 7.984 kB / 372.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.09574, allocations: 0 / 372.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.09575, allocations: 0 / 372.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.09576, allocations: 0 / 372.7 MB, free: 12.41 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003308/0.0961, allocations: 315.4 kB / 373 MB, free: 12.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.09616, allocations: 8.031 kB / 373 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.09622, allocations: 38.56 kB / 373.1 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.09625, allocations: 0 / 373.1 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.0964, allocations: 167 kB / 373.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.09642, allocations: 0 / 373.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.09646, allocations: 7.938 kB / 373.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.09658, allocations: 37.69 kB / 373.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.0966, allocations: 0 / 373.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.09662, allocations: 0 / 373.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.09664, allocations: 0 / 373.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.09675, allocations: 7.984 kB / 373.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.09697, allocations: 157.8 kB / 373.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.09723, allocations: 50.48 kB / 373.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.09781, allocations: 125.1 kB / 373.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.09786, allocations: 34.56 kB / 373.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.09787, allocations: 4 kB / 373.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.002208/0.1001, allocations: 221.3 kB / 373.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.1002, allocations: 55.41 kB / 373.9 MB, free: 11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.1003, allocations: 89.86 kB / 374 MB, free: 10.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1003, allocations: 25.7 kB / 374 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1003, allocations: 80.14 kB / 374.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1004, allocations: 19.8 kB / 374.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.1004, allocations: 3.938 kB / 374.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1005, allocations: 310.8 kB / 374.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1007, allocations: 28.11 kB / 374.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1009, allocations: 23.98 kB / 374.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.101, allocations: 19.98 kB / 374.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1011, allocations: 0 / 374.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003819/0.1014, allocations: 93.55 kB / 374.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1015, allocations: 8 kB / 374.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1015, allocations: 0 / 374.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1015, allocations: 0 / 374.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.1018, allocations: 15.98 kB / 374.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1018, allocations: 0 / 374.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1019, allocations: 15.98 kB / 374.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.102, allocations: 0 / 374.6 MB, free: 10.25 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0001017/0.1021, allocations: 109.8 kB / 374.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1021, allocations: 11.86 kB / 374.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.1026, allocations: 101.1 kB / 374.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1026, allocations: 0 / 374.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1026, allocations: 0 / 374.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1026, allocations: 0 / 374.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1038, allocations: 371.3 kB / 375.2 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1038, allocations: 4 kB / 375.2 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.104, allocations: 19.98 kB / 375.2 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.1041, allocations: 0 / 375.2 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1041, allocations: 7.969 kB / 375.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1041, allocations: 320 / 375.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1041, allocations: 4 kB / 375.3 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.1045, allocations: 202 kB / 375.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.1046, allocations: 77.11 kB / 375.5 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1046, allocations: 4 kB / 375.5 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1049, allocations: 11.92 kB / 375.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.1049, allocations: 0 / 375.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1049, allocations: 4 kB / 375.5 MB, free: 9.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.105, allocations: 75.28 kB / 375.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.105, allocations: 4.094 kB / 375.6 MB, free: 9.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.1053, allocations: 12 kB / 375.6 MB, free: 9.133 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008255/0.1062, allocations: 0.8084 MB / 376.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.1066, allocations: 59.89 kB / 376.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1066, allocations: 0 / 376.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1068, allocations: 27.98 kB / 376.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.107, allocations: 7.938 kB / 376.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.1078, allocations: 185.2 kB / 376.7 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1081, allocations: 0.677 MB / 377.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.1082, allocations: 4 kB / 377.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.1082, allocations: 15.44 kB / 377.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1083, allocations: 0 / 377.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.1312, allocations: 1.243 MB / 378.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/0.1315, allocations: 185.8 kB / 378.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/2.608, allocations: 0 / 378.8 MB, free: 5.844 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat