Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.401e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4232, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.688, allocations: 369.9 MB / 0.7173 GB, free: 146.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.689, allocations: 71.52 kB / 0.7174 GB, free: 146.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06926/1.758, allocations: 18.8 MB / 0.7357 GB, free: 145.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.644e-06/1.758, allocations: 0 / 0.7357 GB, free: 145.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/1.758, allocations: 7.844 kB / 0.7357 GB, free: 145.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0014/1.76, allocations: 0.56 MB / 0.7363 GB, free: 145 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.76, allocations: 7.531 kB / 0.7363 GB, free: 145 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.242e-05/1.76, allocations: 64.09 kB / 0.7363 GB, free: 145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/1.76, allocations: 31.33 kB / 0.7364 GB, free: 144.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/1.76, allocations: 239 kB / 0.7366 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/1.76, allocations: 129.7 kB / 0.7367 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/1.76, allocations: 18.78 kB / 0.7367 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/1.761, allocations: 312 kB / 0.737 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/1.761, allocations: 7.906 kB / 0.737 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/1.761, allocations: 10.75 kB / 0.737 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/1.761, allocations: 11.83 kB / 0.7371 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/1.762, allocations: 0.7369 MB / 0.7378 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/1.764, allocations: 1.215 MB / 0.739 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/1.764, allocations: 160.5 kB / 0.7391 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/1.764, allocations: 81.95 kB / 0.7392 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003214/1.768, allocations: 3.01 MB / 0.7421 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.768, allocations: 38.25 kB / 0.7422 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/1.768, allocations: 0 / 0.7422 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003411/1.768, allocations: 101.8 kB / 0.7423 GB, free: 140.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.768, allocations: 55.03 kB / 0.7423 GB, free: 140.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/1.768, allocations: 196.5 kB / 0.7425 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/1.768, allocations: 25.7 kB / 0.7425 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/1.769, allocations: 281.2 kB / 0.7428 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/1.769, allocations: 57.72 kB / 0.7429 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/1.769, allocations: 11.06 kB / 0.7429 GB, free: 140.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/1.769, allocations: 325.1 kB / 0.7432 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.769, allocations: 42.44 kB / 0.7432 GB, free: 139.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/1.769, allocations: 332.4 kB / 0.7435 GB, free: 139.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/1.769, allocations: 103 kB / 0.7436 GB, free: 139.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.769, allocations: 3.906 kB / 0.7436 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007326/1.77, allocations: 362.7 kB / 0.744 GB, free: 139.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.77, allocations: 19 kB / 0.744 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.77, allocations: 7.812 kB / 0.744 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/1.77, allocations: 16.5 kB / 0.744 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/1.771, allocations: 97.52 kB / 0.7441 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.771, allocations: 26.52 kB / 0.7441 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/1.771, allocations: 50.72 kB / 0.7442 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/1.771, allocations: 27.22 kB / 0.7442 GB, free: 139.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001038/1.771, allocations: 139 kB / 0.7443 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/1.771, allocations: 22.72 kB / 0.7444 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/1.772, allocations: 167 kB / 0.7445 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.772, allocations: 7.984 kB / 0.7445 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.772, allocations: 0 / 0.7445 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.772, allocations: 0 / 0.7445 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/1.773, allocations: 432.6 kB / 0.7449 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.773, allocations: 3.906 kB / 0.745 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/1.773, allocations: 18.86 kB / 0.745 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.773, allocations: 4.125 kB / 0.745 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.773, allocations: 3.906 kB / 0.745 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.773, allocations: 0 / 0.745 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.773, allocations: 7.844 kB / 0.745 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/1.773, allocations: 258.2 kB / 0.7452 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/1.773, allocations: 107.6 kB / 0.7453 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/1.773, allocations: 7.938 kB / 0.7453 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/1.773, allocations: 15.22 kB / 0.7454 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/1.773, allocations: 7.844 kB / 0.7454 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/1.774, allocations: 7.656 kB / 0.7454 GB, free: 138.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001411/1.774, allocations: 149.1 kB / 0.7455 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.774, allocations: 192 / 0.7455 GB, free: 138.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006916/1.774, allocations: 96.03 kB / 0.7456 GB, free: 138.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * 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.0006543/1.775, allocations: 1.128 MB / 0.7467 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003911/1.775, allocations: 168.1 kB / 0.7469 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.775, allocations: 0 / 0.7469 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/1.776, allocations: 27.94 kB / 0.7469 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/1.776, allocations: 47.08 kB / 0.7469 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.792, allocations: 4.839 MB / 0.7517 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/1.792, allocations: 0.7273 MB / 0.7524 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.793, allocations: 66.86 kB / 0.7524 GB, free: 136 MB / 490.7 MB Notification: Performance of SimCode: time 1.793e-06/1.793, allocations: 0 / 0.7524 GB, free: 136 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.579/4.372, allocations: 4.028 MB / 0.7564 GB, free: 134.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat