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.002212/0.002211, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 92.27 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5829/0.5829, allocations: 43.56 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006846/0.0006848, allocations: 12 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1405, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.376, allocations: 375.2 MB / 0.8453 GB, free: 14.15 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.377, allocations: 68.66 kB / 0.8453 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.4141/1.791, allocations: 18.88 MB / 0.8638 GB, free: 158.4 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.856e-06/1.791, allocations: 0.6094 kB / 0.8638 GB, free: 158.4 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.915e-05/1.791, allocations: 3.938 kB / 0.8638 GB, free: 158.4 MB / 0.4949 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.00157/1.792, allocations: 0.5731 MB / 0.8643 GB, free: 158 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.792, allocations: 10.44 kB / 0.8644 GB, free: 158 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/1.793, allocations: 62.98 kB / 0.8644 GB, free: 157.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/1.793, allocations: 32.16 kB / 0.8644 GB, free: 157.9 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/1.793, allocations: 227.4 kB / 0.8647 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.793, allocations: 126.2 kB / 0.8648 GB, free: 157.6 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/1.793, allocations: 22.94 kB / 0.8648 GB, free: 157.6 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/1.794, allocations: 322.2 kB / 0.8651 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/1.794, allocations: 1.875 kB / 0.8651 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/1.794, allocations: 11.69 kB / 0.8651 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/1.794, allocations: 6.5 kB / 0.8651 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/1.796, allocations: 0.7354 MB / 0.8658 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/1.798, allocations: 1.228 MB / 0.867 GB, free: 156.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/1.798, allocations: 164.5 kB / 0.8672 GB, free: 156.6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003305/1.801, allocations: 2.784 MB / 0.8699 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.802, allocations: 35.64 kB / 0.87 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=13): time 3.296e-06/1.802, allocations: 0 / 0.87 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=13): time 0.0004701/1.802, allocations: 130.9 kB / 0.8701 GB, free: 153.7 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.802, allocations: 54.09 kB / 0.8701 GB, free: 153.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/1.802, allocations: 189.9 kB / 0.8703 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.802, allocations: 30.27 kB / 0.8703 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/1.803, allocations: 287.5 kB / 0.8706 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/1.803, allocations: 44.72 kB / 0.8707 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/1.803, allocations: 9.531 kB / 0.8707 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/1.803, allocations: 328.5 kB / 0.871 GB, free: 153 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/1.803, allocations: 45.94 kB / 0.871 GB, free: 153 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/1.803, allocations: 334.4 kB / 0.8713 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/1.803, allocations: 98.88 kB / 0.8714 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.803, allocations: 3 kB / 0.8714 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009166/1.804, allocations: 376.9 kB / 0.8718 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.804, allocations: 9.625 kB / 0.8718 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/1.804, allocations: 11 kB / 0.8718 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/1.805, allocations: 13.75 kB / 0.8718 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/1.805, allocations: 103.6 kB / 0.8719 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/1.805, allocations: 21.64 kB / 0.872 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/1.806, allocations: 58.06 kB / 0.872 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/1.806, allocations: 29.95 kB / 0.872 GB, free: 152.5 MB / 0.4949 GB 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 () * Number of clocked 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.0001846/1.806, allocations: 152.9 kB / 0.8722 GB, free: 152.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/1.806, allocations: 17.44 kB / 0.8722 GB, free: 152.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/1.806, allocations: 165.2 kB / 0.8724 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.806, allocations: 2.75 kB / 0.8724 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.806, allocations: 4 kB / 0.8724 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/1.806, allocations: 7.234 kB / 0.8724 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/1.807, allocations: 426.4 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.807, allocations: 1.891 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/1.807, allocations: 17.95 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.807, allocations: 4.656 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.807, allocations: 10.83 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/1.807, allocations: 6.938 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.807, allocations: 1.375 kB / 0.8728 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/1.808, allocations: 257.4 kB / 0.8731 GB, free: 151.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.808, allocations: 114.1 kB / 0.8732 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/1.808, allocations: 1.891 kB / 0.8732 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/1.808, allocations: 12.61 kB / 0.8732 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/1.808, allocations: 10.52 kB / 0.8732 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.808, allocations: 8.734 kB / 0.8732 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002079/1.808, allocations: 151.2 kB / 0.8733 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.81e-07/1.808, allocations: 0 / 0.8733 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0008182/1.809, allocations: 101.9 kB / 0.8734 GB, free: 151.4 MB / 0.4949 GB 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 () * Number of clocked 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.000765/1.81, allocations: 1.129 MB / 0.8745 GB, free: 150.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0004643/1.811, allocations: 169.9 kB / 0.8747 GB, free: 150.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.811, allocations: 3.5 kB / 0.8747 GB, free: 150.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/1.811, allocations: 21.47 kB / 0.8747 GB, free: 150.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/1.811, allocations: 42.89 kB / 0.8748 GB, free: 150.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.831, allocations: 12.75 MB / 0.8872 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.832, allocations: 0.7297 MB / 0.8879 GB, free: 141.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.832, allocations: 65.59 kB / 0.888 GB, free: 141.6 MB / 0.4949 GB Notification: Performance of SimCode: time 8.32e-07/1.832, allocations: 0 / 0.888 GB, free: 141.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.567/4.399, allocations: 4.014 MB / 0.8919 GB, free: 141.3 MB / 0.4949 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