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.002388/0.002387, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.228/2.228, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001221/0.001221, allocations: 94.61 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2905/0.2905, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.813e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.928/2.063, allocations: 0.61 GB / 1.083 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/2.063, allocations: 79.67 kB / 1.083 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4863/2.549, allocations: 45.4 MB / 1.127 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/2.549, allocations: 3.938 kB / 1.127 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.927e-06/2.549, allocations: 1.406 kB / 1.127 GB, free: 180.7 MB / 0.5105 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.0008897/2.55, allocations: 425.5 kB / 1.128 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/2.55, allocations: 9.5 kB / 1.128 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/2.55, allocations: 38.09 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/2.55, allocations: 8.672 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/2.55, allocations: 167.5 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/2.55, allocations: 5.656 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/2.55, allocations: 4.25 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/2.551, allocations: 77.98 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/2.551, allocations: 8.609 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/2.551, allocations: 0.9688 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/2.551, allocations: 1 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/2.551, allocations: 48.33 kB / 1.128 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/2.551, allocations: 383.4 kB / 1.128 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/2.552, allocations: 59.03 kB / 1.128 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/2.552, allocations: 21.02 kB / 1.128 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/2.553, allocations: 0.9999 MB / 1.129 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/2.553, allocations: 36.59 kB / 1.129 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 3.988e-06/2.553, allocations: 1.906 kB / 1.129 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.009468/2.563, allocations: 0.6274 MB / 1.13 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/2.563, allocations: 55.81 kB / 1.13 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/2.563, allocations: 94.44 kB / 1.13 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/2.563, allocations: 29.75 kB / 1.13 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/2.563, allocations: 161.8 kB / 1.13 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/2.563, allocations: 42.05 kB / 1.13 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/2.563, allocations: 5.938 kB / 1.13 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/2.563, allocations: 316.4 kB / 1.131 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/2.564, allocations: 70.84 kB / 1.131 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/2.564, allocations: 101.2 kB / 1.131 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/2.564, allocations: 86.02 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/2.564, allocations: 0 / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007875/2.565, allocations: 224.1 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/2.565, allocations: 7.625 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/2.565, allocations: 0.9688 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/2.565, allocations: 2.219 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/2.566, allocations: 57.81 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/2.566, allocations: 5.266 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/2.567, allocations: 17.7 kB / 1.131 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/2.567, allocations: 19.42 kB / 1.131 GB, free: 177.8 MB / 0.5105 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 () * 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.0001338/2.567, allocations: 112 kB / 1.131 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/2.567, allocations: 3.938 kB / 1.131 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/2.568, allocations: 332.9 kB / 1.132 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/2.568, allocations: 3.969 kB / 1.132 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/2.568, allocations: 0 / 1.132 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.568, allocations: 0 / 1.132 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/2.57, allocations: 0.7269 MB / 1.132 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/2.57, allocations: 0 / 1.132 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/2.571, allocations: 51.52 kB / 1.133 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/2.571, allocations: 3.609 kB / 1.133 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/2.571, allocations: 7.688 kB / 1.133 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/2.571, allocations: 1.062 kB / 1.133 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.571, allocations: 2.469 kB / 1.133 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/2.572, allocations: 332.8 kB / 1.133 GB, free: 177 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/2.572, allocations: 105.4 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/2.572, allocations: 7.891 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/2.573, allocations: 7.312 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/2.573, allocations: 16.56 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/2.573, allocations: 13.98 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.947e-05/2.573, allocations: 86.41 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/2.573, allocations: 1.312 kB / 1.133 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009061/2.574, allocations: 147.8 kB / 1.133 GB, free: 176.8 MB / 0.5105 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 (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.002176/2.576, allocations: 1.41 MB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006715/2.577, allocations: 191.7 kB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/2.577, allocations: 3.75 kB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/2.577, allocations: 104.8 kB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/2.578, allocations: 33.33 kB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/2.579, allocations: 272.7 kB / 1.135 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/2.579, allocations: 0.7008 MB / 1.136 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/2.579, allocations: 48.91 kB / 1.136 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/2.579, allocations: 0 / 1.136 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.086/5.665, allocations: 7.26 MB / 1.143 GB, free: 174.3 MB / 0.5105 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