Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002064/0.002064, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 88.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.304/0.304, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.296e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4157, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.632, allocations: 374.5 MB / 0.8317 GB, free: 145.5 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.632, allocations: 77.31 kB / 0.8318 GB, free: 145.5 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.07137/1.704, allocations: 18.73 MB / 0.8501 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.836e-06/1.704, allocations: 4 kB / 0.8501 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.481e-05/1.704, allocations: 7.844 kB / 0.8501 GB, free: 144.1 MB / 0.4952 GB 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.001314/1.705, allocations: 0.558 MB / 0.8506 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.705, allocations: 11.61 kB / 0.8506 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/1.706, allocations: 23.44 kB / 0.8507 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.706, allocations: 230.5 kB / 0.8509 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/1.706, allocations: 115.2 kB / 0.851 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/1.706, allocations: 15.09 kB / 0.851 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/1.707, allocations: 0.7146 MB / 0.8517 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/1.708, allocations: 281.9 kB / 0.852 GB, free: 143.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.708, allocations: 7.938 kB / 0.852 GB, free: 143.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/1.708, allocations: 0 / 0.852 GB, free: 143.2 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/1.708, allocations: 11.61 kB / 0.852 GB, free: 143.2 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/1.712, allocations: 3.497 MB / 0.8554 GB, free: 139.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/1.712, allocations: 44.22 kB / 0.8554 GB, free: 139.7 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/1.712, allocations: 16.42 kB / 0.8555 GB, free: 139.7 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/1.712, allocations: 452.2 kB / 0.8559 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.712, allocations: 38.47 kB / 0.8559 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/1.713, allocations: 0 / 0.8559 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1): time 0.0002225/1.713, allocations: 49.14 kB / 0.856 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/1.713, allocations: 55.2 kB / 0.856 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/1.713, allocations: 215.2 kB / 0.8562 GB, free: 139.1 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/1.713, allocations: 25.7 kB / 0.8563 GB, free: 139 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/1.713, allocations: 317.1 kB / 0.8566 GB, free: 138.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/1.713, allocations: 10.53 kB / 0.8566 GB, free: 138.8 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/1.713, allocations: 4.031 kB / 0.8566 GB, free: 138.8 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/1.713, allocations: 329.1 kB / 0.8569 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/1.713, allocations: 35.52 kB / 0.8569 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.714, allocations: 340.2 kB / 0.8572 GB, free: 138 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/1.714, allocations: 111.8 kB / 0.8573 GB, free: 138 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.714, allocations: 3.906 kB / 0.8574 GB, free: 138 MB / 0.4952 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009579/1.715, allocations: 339.1 kB / 0.8577 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.715, allocations: 11.72 kB / 0.8577 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.715, allocations: 11.72 kB / 0.8577 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/1.715, allocations: 19.56 kB / 0.8577 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/1.716, allocations: 100.3 kB / 0.8578 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/1.716, allocations: 19.62 kB / 0.8578 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/1.716, allocations: 62.14 kB / 0.8579 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/1.716, allocations: 27.47 kB / 0.8579 GB, free: 137.8 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.000109/1.716, allocations: 124.4 kB / 0.858 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001766/1.717, allocations: 68.22 kB / 0.8581 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/1.717, allocations: 15.62 kB / 0.8581 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/1.717, allocations: 23.38 kB / 0.8581 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/1.717, allocations: 0 / 0.8581 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.717, allocations: 4.031 kB / 0.8581 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/1.717, allocations: 0 / 0.8581 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/1.717, allocations: 169.7 kB / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.717, allocations: 0 / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-06/1.717, allocations: 3.906 kB / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.717, allocations: 3.953 kB / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/1.717, allocations: 0 / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.717, allocations: 0 / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.717, allocations: 0 / 0.8583 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/1.717, allocations: 153.7 kB / 0.8585 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/1.717, allocations: 106.5 kB / 0.8586 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/1.717, allocations: 3.953 kB / 0.8586 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/1.718, allocations: 7.906 kB / 0.8586 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/1.718, allocations: 0 / 0.8586 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/1.718, allocations: 0 / 0.8586 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001323/1.718, allocations: 149.1 kB / 0.8587 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.61e-07/1.718, allocations: 0 / 0.8587 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0008044/1.719, allocations: 93.58 kB / 0.8588 GB, free: 137.1 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.000575/1.719, allocations: 0.7291 MB / 0.8595 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0003394/1.72, allocations: 136.3 kB / 0.8596 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.72, allocations: 0 / 0.8596 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/1.72, allocations: 7.625 kB / 0.8597 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/1.72, allocations: 16.27 kB / 0.8597 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.734, allocations: 4.164 MB / 0.8637 GB, free: 136 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/1.734, allocations: 0.7217 MB / 0.8644 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/1.734, allocations: 59.83 kB / 0.8645 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of SimCode: time 1.863e-06/1.734, allocations: 0 / 0.8645 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/4.304, allocations: 3.872 MB / 0.8683 GB, free: 134.7 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat