Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_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.001805/0.001804, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.061/2.061, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001237/0.001237, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.263/0.263, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.624/1.781, allocations: 0.61 GB / 1.089 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.782, allocations: 78.7 kB / 1.089 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3648/2.146, allocations: 45.57 MB / 1.133 GB, free: 182.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.885e-06/2.146, allocations: 3.938 kB / 1.133 GB, free: 182.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.046e-05/2.146, allocations: 0 / 1.133 GB, free: 182.2 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.0007582/2.147, allocations: 437.6 kB / 1.134 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/2.147, allocations: 7.781 kB / 1.134 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/2.147, allocations: 37.66 kB / 1.134 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/2.147, allocations: 9.141 kB / 1.134 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/2.147, allocations: 163.8 kB / 1.134 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/2.147, allocations: 3.938 kB / 1.134 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/2.148, allocations: 18.27 kB / 1.134 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/2.148, allocations: 73.28 kB / 1.134 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/2.148, allocations: 3.938 kB / 1.134 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/2.148, allocations: 0 / 1.134 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/2.148, allocations: 3.906 kB / 1.134 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/2.148, allocations: 46.2 kB / 1.134 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/2.148, allocations: 387.2 kB / 1.135 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/2.148, allocations: 66.61 kB / 1.135 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009828/2.149, allocations: 0.9985 MB / 1.136 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/2.149, allocations: 37.98 kB / 1.136 GB, free: 180 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/2.149, allocations: 0 / 1.136 GB, free: 180 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.005574/2.155, allocations: 0.6451 MB / 1.136 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/2.155, allocations: 55.34 kB / 1.136 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/2.155, allocations: 100.1 kB / 1.136 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/2.155, allocations: 29.7 kB / 1.136 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/2.155, allocations: 90.3 kB / 1.137 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/2.155, allocations: 52.81 kB / 1.137 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/2.155, allocations: 0 / 1.137 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/2.155, allocations: 321.7 kB / 1.137 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/2.156, allocations: 79.5 kB / 1.137 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/2.156, allocations: 104.5 kB / 1.137 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/2.156, allocations: 88.27 kB / 1.137 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/2.156, allocations: 0 / 1.137 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005016/2.157, allocations: 242.2 kB / 1.137 GB, free: 179 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/2.157, allocations: 9.969 kB / 1.137 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/2.157, allocations: 0 / 1.137 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/2.157, allocations: 0 / 1.137 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/2.157, allocations: 57.81 kB / 1.137 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/2.157, allocations: 3.953 kB / 1.137 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/2.158, allocations: 27.3 kB / 1.138 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/2.158, allocations: 14.59 kB / 1.138 GB, free: 179 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 () * 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.0001094/2.158, allocations: 113.8 kB / 1.138 GB, free: 178.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/2.158, allocations: 7.844 kB / 1.138 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/2.159, allocations: 348.6 kB / 1.138 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/2.159, allocations: 0 / 1.138 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/2.159, allocations: 0 / 1.138 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/2.159, allocations: 4 kB / 1.138 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/2.16, allocations: 0.7471 MB / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.16, allocations: 0 / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/2.16, allocations: 41.08 kB / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/2.16, allocations: 0 / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/2.16, allocations: 7.938 kB / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/2.16, allocations: 0 / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.16, allocations: 11.31 kB / 1.139 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/2.161, allocations: 348.7 kB / 1.139 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/2.161, allocations: 105.8 kB / 1.139 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/2.161, allocations: 7.5 kB / 1.139 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/2.161, allocations: 10.81 kB / 1.139 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/2.161, allocations: 13.75 kB / 1.139 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/2.161, allocations: 7.812 kB / 1.139 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.124e-05/2.161, allocations: 102.3 kB / 1.139 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/2.161, allocations: 0 / 1.139 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009053/2.162, allocations: 140.2 kB / 1.139 GB, free: 177.6 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 () * 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.001727/2.164, allocations: 1.406 MB / 1.141 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004964/2.165, allocations: 206.4 kB / 1.141 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/2.165, allocations: 3.719 kB / 1.141 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/2.165, allocations: 113.8 kB / 1.141 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/2.165, allocations: 31.5 kB / 1.141 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/2.166, allocations: 383.3 kB / 1.142 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/2.166, allocations: 0.7019 MB / 1.142 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004686/2.167, allocations: 68.86 kB / 1.142 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/2.167, allocations: 45.47 kB / 1.142 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/2.167, allocations: 0 / 1.142 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/2.198, allocations: 15.47 MB / 1.157 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/2.198, allocations: 170.8 kB / 1.158 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/4.311, allocations: 0 / 1.158 GB, free: 169.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat