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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008564/0.0008613, allocations: 95.27 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009185/0.0009188, allocations: 197.6 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 63.47 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.402/0.5451, allocations: 137.5 MB / 0.6046 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.5464, allocations: 1.099 MB / 0.6057 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.5465, allocations: 0 / 0.6057 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.5466, allocations: 38.3 kB / 0.6057 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.5466, allocations: 19.78 kB / 0.6057 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009362/0.5476, allocations: 352.8 kB / 0.6061 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.836e-05/0.5477, allocations: 67.61 kB / 0.6061 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.5477, allocations: 7.969 kB / 0.6061 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.5478, allocations: 35.86 kB / 0.6062 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.5479, allocations: 19.94 kB / 0.6062 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.5479, allocations: 0 / 0.6062 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000888/0.5488, allocations: 458.9 kB / 0.6066 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.5488, allocations: 11.98 kB / 0.6066 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.5488, allocations: 37.64 kB / 0.6067 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.5491, allocations: 201.8 kB / 0.6069 GB, free: 10.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5491, allocations: 0 / 0.6069 GB, free: 10.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5492, allocations: 8 kB / 0.6069 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.5492, allocations: 0 / 0.6069 GB, free: 10.54 MB / 446.1 MB 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.000472/0.5496, allocations: 396 kB / 0.6072 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5497, allocations: 8.031 kB / 0.6073 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.5497, allocations: 42.5 kB / 0.6073 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.5498, allocations: 4 kB / 0.6073 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.516e-05/0.5499, allocations: 167 kB / 0.6075 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.5499, allocations: 0 / 0.6075 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.5499, allocations: 15.84 kB / 0.6075 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.55, allocations: 77.55 kB / 0.6076 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.55, allocations: 3.984 kB / 0.6076 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.5501, allocations: 8 kB / 0.6076 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5501, allocations: 3.953 kB / 0.6076 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.5502, allocations: 43.97 kB / 0.6076 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.5506, allocations: 377.9 kB / 0.608 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.5507, allocations: 66.5 kB / 0.608 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.5507, allocations: 24.8 kB / 0.6081 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.5522, allocations: 1.228 MB / 0.6093 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5522, allocations: 30.56 kB / 0.6093 GB, free: 7.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5522, allocations: 0 / 0.6093 GB, free: 7.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.006028/0.5583, allocations: 0.6572 MB / 0.6099 GB, free: 6.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5583, allocations: 51.41 kB / 0.61 GB, free: 6.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.5584, allocations: 102.7 kB / 0.6101 GB, free: 6.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.5584, allocations: 33.7 kB / 0.6101 GB, free: 6.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.5585, allocations: 88.27 kB / 0.6102 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.5585, allocations: 51.36 kB / 0.6102 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.5586, allocations: 0 / 0.6102 GB, free: 6.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.5587, allocations: 318.8 kB / 0.6105 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.5589, allocations: 79.94 kB / 0.6106 GB, free: 6.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.5591, allocations: 106.5 kB / 0.6107 GB, free: 6.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.5593, allocations: 91.97 kB / 0.6108 GB, free: 6.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5593, allocations: 4 kB / 0.6108 GB, free: 6.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005057/0.5598, allocations: 249.4 kB / 0.611 GB, free: 5.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5598, allocations: 4.562 kB / 0.6111 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5598, allocations: 0 / 0.6111 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5599, allocations: 4 kB / 0.6111 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.5604, allocations: 57.88 kB / 0.6111 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5605, allocations: 4 kB / 0.6111 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.5609, allocations: 12.06 kB / 0.6111 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.561, allocations: 27.84 kB / 0.6112 GB, free: 5.66 MB / 446.1 MB 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.0001037/0.5611, allocations: 117.8 kB / 0.6113 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.5611, allocations: 11.86 kB / 0.6113 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.5619, allocations: 334.1 kB / 0.6116 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5619, allocations: 4 kB / 0.6116 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5619, allocations: 3.953 kB / 0.6116 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5619, allocations: 0 / 0.6116 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.563, allocations: 0.7555 MB / 0.6123 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.563, allocations: 0 / 0.6123 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.5635, allocations: 51.89 kB / 0.6124 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5635, allocations: 3.953 kB / 0.6124 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.5636, allocations: 11.92 kB / 0.6124 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5636, allocations: 3.938 kB / 0.6124 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5636, allocations: 0 / 0.6124 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.5641, allocations: 361.4 kB / 0.6128 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.5642, allocations: 104.9 kB / 0.6129 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.5643, allocations: 4 kB / 0.6129 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.5647, allocations: 11.95 kB / 0.6129 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.5648, allocations: 15.97 kB / 0.6129 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.5648, allocations: 11.98 kB / 0.6129 GB, free: 3.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.5649, allocations: 79.28 kB / 0.613 GB, free: 3.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5649, allocations: 0 / 0.613 GB, free: 3.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000431/0.5653, allocations: 108 kB / 0.6131 GB, free: 3.547 MB / 446.1 MB 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.001069/0.5664, allocations: 1 MB / 0.6141 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.5669, allocations: 211.8 kB / 0.6143 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5669, allocations: 0 / 0.6143 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.5671, allocations: 119.9 kB / 0.6144 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.5675, allocations: 28.11 kB / 0.6144 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.5683, allocations: 380.9 kB / 0.6148 GB, free: 1.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.5686, allocations: 0.6967 MB / 0.6154 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.5691, allocations: 64.73 kB / 0.6155 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.5693, allocations: 51.38 kB / 0.6155 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5693, allocations: 4 kB / 0.6156 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.5869, allocations: 7.124 MB / 0.6225 GB, free: 9.895 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.5872, allocations: 182.9 kB / 0.6227 GB, free: 9.648 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.511, allocations: 0 / 0.6227 GB, free: 9.648 MB / 462.1 MB (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