Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",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.002469/0.002469, allocations: 186.9 kB / 16.41 MB, free: 5.723 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.103/2.103, 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.001261/0.00126, allocations: 92.38 kB / 270.9 MB, free: 8.395 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.5504/0.5504, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005211/0.0005211, allocations: 19.98 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1462, allocations: 58.83 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.277/2.423, allocations: 0.61 GB / 1.089 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.424, allocations: 76.39 kB / 1.089 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.1555/2.579, allocations: 45.58 MB / 1.133 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.124e-06/2.579, allocations: 0 / 1.133 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.314e-06/2.579, allocations: 0 / 1.133 GB, free: 104.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007258/2.58, allocations: 445.8 kB / 1.134 GB, free: 103.9 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/2.58, allocations: 12.03 kB / 1.134 GB, free: 103.9 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/2.58, allocations: 38.55 kB / 1.134 GB, free: 103.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/2.58, allocations: 11.95 kB / 1.134 GB, free: 103.8 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/2.58, allocations: 167 kB / 1.134 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/2.58, allocations: 8 kB / 1.134 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/2.58, allocations: 11.91 kB / 1.134 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/2.58, allocations: 71.16 kB / 1.134 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/2.58, allocations: 0 / 1.134 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/2.58, allocations: 4 kB / 1.134 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/2.58, allocations: 4 kB / 1.134 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/2.581, allocations: 47.92 kB / 1.134 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/2.581, allocations: 385.8 kB / 1.135 GB, free: 103 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/2.581, allocations: 70.53 kB / 1.135 GB, free: 103 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/2.583, allocations: 0.9996 MB / 1.136 GB, free: 101.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/2.583, allocations: 34.56 kB / 1.136 GB, free: 101.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=9): time 3.427e-06/2.583, allocations: 0 / 1.136 GB, free: 101.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=14): time 0.009771/2.593, allocations: 0.6497 MB / 1.136 GB, free: 101.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/2.593, allocations: 51.41 kB / 1.136 GB, free: 101 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/2.593, allocations: 96.98 kB / 1.136 GB, free: 100.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/2.593, allocations: 29.7 kB / 1.136 GB, free: 100.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/2.593, allocations: 162.7 kB / 1.137 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/2.593, allocations: 47.3 kB / 1.137 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/2.593, allocations: 4 kB / 1.137 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/2.593, allocations: 322.8 kB / 1.137 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/2.593, allocations: 75.95 kB / 1.137 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/2.594, allocations: 102.5 kB / 1.137 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/2.594, allocations: 95.91 kB / 1.137 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.594, allocations: 3.938 kB / 1.137 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001012/2.595, allocations: 244.7 kB / 1.137 GB, free: 99.81 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/2.595, allocations: 4 kB / 1.137 GB, free: 99.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/2.595, allocations: 0 / 1.137 GB, free: 99.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/2.595, allocations: 4 kB / 1.137 GB, free: 99.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/2.596, allocations: 51.94 kB / 1.138 GB, free: 99.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/2.596, allocations: 0 / 1.138 GB, free: 99.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/2.597, allocations: 24.05 kB / 1.138 GB, free: 99.73 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/2.597, allocations: 11.98 kB / 1.138 GB, free: 99.71 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001504/2.597, allocations: 129.7 kB / 1.138 GB, free: 99.58 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/2.597, allocations: 7.906 kB / 1.138 GB, free: 99.57 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/2.599, allocations: 343 kB / 1.138 GB, free: 99.23 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/2.599, allocations: 0 / 1.138 GB, free: 99.23 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/2.599, allocations: 4 kB / 1.138 GB, free: 99.22 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/2.599, allocations: 0 / 1.138 GB, free: 99.22 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/2.601, allocations: 0.7552 MB / 1.139 GB, free: 98.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.601, allocations: 4 kB / 1.139 GB, free: 98.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/2.602, allocations: 39.91 kB / 1.139 GB, free: 98.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.118e-06/2.602, allocations: 0 / 1.139 GB, free: 98.34 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/2.602, allocations: 11.98 kB / 1.139 GB, free: 98.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/2.602, allocations: 0 / 1.139 GB, free: 98.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.602, allocations: 0 / 1.139 GB, free: 98.33 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/2.603, allocations: 343.6 kB / 1.139 GB, free: 97.98 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/2.603, allocations: 112.9 kB / 1.139 GB, free: 97.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/2.603, allocations: 7.984 kB / 1.139 GB, free: 97.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/2.604, allocations: 15.94 kB / 1.139 GB, free: 97.83 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/2.604, allocations: 7.984 kB / 1.139 GB, free: 97.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/2.604, allocations: 11.98 kB / 1.139 GB, free: 97.81 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 5.501e-05/2.604, allocations: 83.28 kB / 1.139 GB, free: 97.73 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.61e-07/2.604, allocations: 4 kB / 1.139 GB, free: 97.72 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0008834/2.605, allocations: 147.8 kB / 1.14 GB, free: 97.58 MB / 0.4949 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.00265/2.608, allocations: 1.411 MB / 1.141 GB, free: 96.14 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0008579/2.609, allocations: 203.3 kB / 1.141 GB, free: 95.95 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.609, allocations: 0 / 1.141 GB, free: 95.95 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/2.609, allocations: 115.9 kB / 1.141 GB, free: 95.83 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/2.609, allocations: 36.05 kB / 1.141 GB, free: 95.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/2.611, allocations: 405.6 kB / 1.142 GB, free: 95.36 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/2.611, allocations: 0.7007 MB / 1.142 GB, free: 94.63 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/2.611, allocations: 55.31 kB / 1.142 GB, free: 94.57 MB / 0.4949 GB Notification: Performance of SimCode: time 1.192e-06/2.611, allocations: 0 / 1.142 GB, free: 94.57 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/5.405, allocations: 7.217 MB / 1.149 GB, free: 87.35 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat