Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_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.001011/0.001011, allocations: 96.45 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001106, allocations: 203.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 12 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4645/0.6275, allocations: 126.2 MB / 0.5935 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.6331, allocations: 4.839 MB / 0.5982 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.6333, allocations: 0 / 0.5982 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.6336, allocations: 43.77 kB / 0.5982 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.6361, allocations: 0.9745 MB / 0.5992 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.6365, allocations: 129.3 kB / 0.5993 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.637, allocations: 263.4 kB / 0.5996 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.637, allocations: 13.67 kB / 0.5996 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.6373, allocations: 171.5 kB / 0.5997 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.6376, allocations: 155.5 kB / 0.5999 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.6376, allocations: 8 kB / 0.5999 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.6396, allocations: 0.9559 MB / 0.6008 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.6397, allocations: 47.86 kB / 0.6009 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.6398, allocations: 61.58 kB / 0.6009 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.6407, allocations: 0.5683 MB / 0.6015 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.6407, allocations: 0 / 0.6015 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6407, allocations: 0 / 0.6015 GB, free: 14.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.6407, allocations: 0 / 0.6015 GB, free: 14.94 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001213/0.6419, allocations: 0.621 MB / 0.6021 GB, free: 14.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.642, allocations: 8.031 kB / 0.6021 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.736e-05/0.6421, allocations: 62.53 kB / 0.6022 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00767/0.6497, allocations: 0.6057 MB / 0.6028 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.6502, allocations: 250.8 kB / 0.603 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.6503, allocations: 127.3 kB / 0.6031 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.6504, allocations: 20 kB / 0.6031 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.6515, allocations: 0.5595 MB / 0.6037 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6516, allocations: 0 / 0.6037 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.6516, allocations: 12 kB / 0.6037 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.6517, allocations: 11.94 kB / 0.6037 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.653, allocations: 0.6357 MB / 0.6043 GB, free: 11.87 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.6552, allocations: 1.718 MB / 0.606 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.6555, allocations: 154.5 kB / 0.6062 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.6562, allocations: 0.7086 MB / 0.6068 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6562, allocations: 30.56 kB / 0.6069 GB, free: 8.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.6562, allocations: 0 / 0.6069 GB, free: 8.996 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.0009445/0.6572, allocations: 319.4 kB / 0.6072 GB, free: 8.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6572, allocations: 55.41 kB / 0.6072 GB, free: 8.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.6574, allocations: 195.8 kB / 0.6074 GB, free: 8.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.6575, allocations: 29.64 kB / 0.6074 GB, free: 8.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.6576, allocations: 195.1 kB / 0.6076 GB, free: 8.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.6576, allocations: 63.09 kB / 0.6077 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.6577, allocations: 8 kB / 0.6077 GB, free: 8.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6578, allocations: 331 kB / 0.608 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6579, allocations: 64.7 kB / 0.6081 GB, free: 7.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.6582, allocations: 268 kB / 0.6083 GB, free: 7.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.6584, allocations: 107.8 kB / 0.6084 GB, free: 7.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6584, allocations: 0 / 0.6084 GB, free: 7.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006043/0.659, allocations: 365.5 kB / 0.6088 GB, free: 6.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6591, allocations: 12.16 kB / 0.6088 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6591, allocations: 4 kB / 0.6088 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6591, allocations: 12 kB / 0.6088 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.6595, allocations: 123.8 kB / 0.6089 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003547/0.6599, allocations: 0.6016 MB / 0.6095 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.6601, allocations: 51.48 kB / 0.6096 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.6602, allocations: 48.08 kB / 0.6096 GB, free: 6.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.6604, allocations: 144.8 kB / 0.6098 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.6604, allocations: 15.81 kB / 0.6098 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/0.6613, allocations: 435.3 kB / 0.6102 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6613, allocations: 0 / 0.6102 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6613, allocations: 4 kB / 0.6102 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.6614, allocations: 7.984 kB / 0.6102 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.6622, allocations: 0.6227 MB / 0.6108 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6622, allocations: 224 / 0.6108 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.6624, allocations: 59.97 kB / 0.6109 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.6624, allocations: 7.953 kB / 0.6109 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.6624, allocations: 11.98 kB / 0.6109 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003721/0.6628, allocations: 0.5899 MB / 0.6115 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6628, allocations: 0 / 0.6115 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.6632, allocations: 391.9 kB / 0.6118 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6634, allocations: 108.9 kB / 0.6119 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.6634, allocations: 4 kB / 0.6119 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.6637, allocations: 15.98 kB / 0.612 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.6637, allocations: 23.94 kB / 0.612 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.6638, allocations: 15.98 kB / 0.612 GB, free: 3.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.6639, allocations: 139.5 kB / 0.6121 GB, free: 3.223 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6639, allocations: 0 / 0.6121 GB, free: 3.223 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006543/0.6646, allocations: 152 kB / 0.6123 GB, free: 3.074 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.6661, allocations: 1.538 MB / 0.6138 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005894/0.6667, allocations: 215.6 kB / 0.614 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6667, allocations: 1.875 kB / 0.614 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.6669, allocations: 84.27 kB / 0.6141 GB, free: 1.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.6673, allocations: 47.95 kB / 0.6141 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.6719, allocations: 5.847 MB / 0.6198 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.6722, allocations: 0.7364 MB / 0.6205 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008882/0.6731, allocations: 385 kB / 0.6209 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6734, allocations: 91.38 kB / 0.621 GB, free: 9.852 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6734, allocations: 0 / 0.621 GB, free: 9.852 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.6941, allocations: 6.791 MB / 0.6276 GB, free: 3.234 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.6944, allocations: 249.1 kB / 0.6279 GB, free: 2.898 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.663, allocations: 0 / 0.6279 GB, free: 2.898 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat