Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 97.38 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 45.14 MB / 383.7 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.906e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.413/1.551, allocations: 472.4 MB / 0.9658 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/1.552, allocations: 72.08 kB / 0.9658 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07528/1.627, allocations: 40.66 MB / 1.006 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/1.627, allocations: 0 / 1.006 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.627, allocations: 0 / 1.006 GB, free: 163.1 MB / 0.5261 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.00043/1.627, allocations: 406.2 kB / 1.006 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.628, allocations: 12.03 kB / 1.006 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/1.628, allocations: 8.531 kB / 1.006 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/1.628, allocations: 163 kB / 1.006 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.628, allocations: 4 kB / 1.006 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/1.628, allocations: 8 kB / 1.006 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/1.628, allocations: 47.91 kB / 1.006 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/1.628, allocations: 61.67 kB / 1.006 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.628, allocations: 0 / 1.006 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.628, allocations: 0 / 1.006 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/1.628, allocations: 0 / 1.006 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/1.628, allocations: 362.3 kB / 1.007 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/1.628, allocations: 62.44 kB / 1.007 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/1.628, allocations: 16.86 kB / 1.007 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/1.629, allocations: 0.9937 MB / 1.008 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/1.629, allocations: 38.52 kB / 1.008 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/1.629, allocations: 0 / 1.008 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.006936/1.636, allocations: 0.8874 MB / 1.009 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/1.636, allocations: 51.41 kB / 1.009 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/1.636, allocations: 101 kB / 1.009 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/1.636, allocations: 25.7 kB / 1.009 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/1.637, allocations: 92.23 kB / 1.009 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/1.637, allocations: 51.23 kB / 1.009 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/1.637, allocations: 0 / 1.009 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/1.637, allocations: 318.8 kB / 1.009 GB, free: 159 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/1.637, allocations: 71.98 kB / 1.009 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.637, allocations: 96.75 kB / 1.009 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.638, allocations: 223.8 kB / 1.009 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.638, allocations: 0 / 1.009 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001381/1.639, allocations: 362.3 kB / 1.01 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.64, allocations: 8 kB / 1.01 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.64, allocations: 4.062 kB / 1.01 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.64, allocations: 0 / 1.01 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/1.64, allocations: 51.94 kB / 1.01 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.64, allocations: 4 kB / 1.01 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/1.641, allocations: 19.89 kB / 1.01 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/1.641, allocations: 15.98 kB / 1.01 GB, free: 158.2 MB / 0.5261 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 8.346e-05/1.641, allocations: 104.9 kB / 1.01 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001388/1.642, allocations: 349.9 kB / 1.01 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/1.642, allocations: 7.906 kB / 1.01 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/1.644, allocations: 473.7 kB / 1.011 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.644, allocations: 4 kB / 1.011 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.644, allocations: 0 / 1.011 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.644, allocations: 3.984 kB / 1.011 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/1.646, allocations: 0.8384 MB / 1.012 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.646, allocations: 0 / 1.012 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/1.646, allocations: 43.97 kB / 1.012 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.646, allocations: 3.938 kB / 1.012 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.646, allocations: 7.984 kB / 1.012 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.646, allocations: 0 / 1.012 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.646, allocations: 7.984 kB / 1.012 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.647, allocations: 467.1 kB / 1.012 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/1.648, allocations: 108.9 kB / 1.012 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/1.648, allocations: 4 kB / 1.012 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/1.648, allocations: 7.984 kB / 1.012 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/1.648, allocations: 15.98 kB / 1.012 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.648, allocations: 11.92 kB / 1.012 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.567e-05/1.648, allocations: 83.53 kB / 1.012 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.648, allocations: 0 / 1.012 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005242/1.649, allocations: 143.8 kB / 1.013 GB, free: 155.4 MB / 0.5261 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.00242/1.651, allocations: 1.618 MB / 1.014 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003209/1.651, allocations: 179.9 kB / 1.014 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.651, allocations: 0 / 1.014 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/1.652, allocations: 103.9 kB / 1.014 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/1.652, allocations: 24.09 kB / 1.014 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/1.652, allocations: 237.7 kB / 1.015 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/1.653, allocations: 0.7004 MB / 1.015 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004769/1.653, allocations: 72.67 kB / 1.015 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/1.653, allocations: 43.34 kB / 1.015 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/1.653, allocations: 0 / 1.015 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/1.681, allocations: 10.67 MB / 1.026 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/1.681, allocations: 138.3 kB / 1.026 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/3.632, allocations: 0 / 1.026 GB, free: 141.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat