Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000763/0.0007631, allocations: 93.62 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00077/0.0007701, allocations: 183 kB / 17.89 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4289/0.5626, allocations: 136.2 MB / 0.5936 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.5681, allocations: 4.749 MB / 0.5982 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.5683, allocations: 0 / 0.5982 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.5685, allocations: 39.73 kB / 0.5982 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.5712, allocations: 0.9532 MB / 0.5992 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.5715, allocations: 134.8 kB / 0.5993 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.5721, allocations: 406.1 kB / 0.5997 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.5721, allocations: 17.67 kB / 0.5997 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.5724, allocations: 167.3 kB / 0.5999 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.5727, allocations: 167.5 kB / 0.6 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.5727, allocations: 8 kB / 0.6 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.5745, allocations: 0.8816 MB / 0.6009 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.5746, allocations: 43.81 kB / 0.6009 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.5747, allocations: 69.52 kB / 0.601 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.5754, allocations: 0.5753 MB / 0.6016 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5754, allocations: 0 / 0.6016 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5755, allocations: 0 / 0.6016 GB, free: 2.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.5755, allocations: 0 / 0.6016 GB, free: 2.766 MB / 430.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.001113/0.5766, allocations: 0.6171 MB / 0.6022 GB, free: 2.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.5766, allocations: 8.031 kB / 0.6022 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.324e-05/0.5767, allocations: 58.55 kB / 0.6022 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006337/0.583, allocations: 0.5888 MB / 0.6028 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.5834, allocations: 258.7 kB / 0.6031 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.5836, allocations: 127.3 kB / 0.6032 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.5836, allocations: 24 kB / 0.6032 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5847, allocations: 0.5594 MB / 0.6037 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5847, allocations: 0 / 0.6037 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.5848, allocations: 12 kB / 0.6038 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.5848, allocations: 12 kB / 0.6038 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.5862, allocations: 0.626 MB / 0.6044 GB, free: 15.73 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.002004/0.5882, allocations: 1.715 MB / 0.6061 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.5885, allocations: 156.8 kB / 0.6062 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.5887, allocations: 75.11 kB / 0.6063 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.5893, allocations: 0.7043 MB / 0.607 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5894, allocations: 34.56 kB / 0.607 GB, free: 12.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.5894, allocations: 0 / 0.607 GB, free: 12.78 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.0009747/0.5904, allocations: 315.9 kB / 0.6073 GB, free: 12.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5904, allocations: 55.41 kB / 0.6073 GB, free: 12.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.5906, allocations: 195 kB / 0.6075 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5906, allocations: 29.7 kB / 0.6076 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.5907, allocations: 191.1 kB / 0.6077 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.5908, allocations: 63.09 kB / 0.6078 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.5908, allocations: 11.94 kB / 0.6078 GB, free: 11.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5909, allocations: 330.8 kB / 0.6081 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.5911, allocations: 60.72 kB / 0.6082 GB, free: 11.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.5913, allocations: 268.5 kB / 0.6084 GB, free: 11.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5915, allocations: 103.9 kB / 0.6085 GB, free: 11.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5915, allocations: 3.953 kB / 0.6086 GB, free: 11.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005712/0.5921, allocations: 366.3 kB / 0.6089 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5921, allocations: 8 kB / 0.6089 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5922, allocations: 8 kB / 0.6089 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5922, allocations: 8 kB / 0.6089 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.5926, allocations: 123.8 kB / 0.609 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000346/0.5929, allocations: 0.6135 MB / 0.6096 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.5932, allocations: 43.53 kB / 0.6097 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.5932, allocations: 47.94 kB / 0.6097 GB, free: 9.812 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.0001372/0.5934, allocations: 145.7 kB / 0.6099 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.5934, allocations: 15.81 kB / 0.6099 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/0.5943, allocations: 443.8 kB / 0.6103 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5943, allocations: 0 / 0.6103 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5943, allocations: 0 / 0.6103 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5943, allocations: 0 / 0.6103 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.5952, allocations: 0.6313 MB / 0.6109 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5952, allocations: 4 kB / 0.6109 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.5954, allocations: 55.95 kB / 0.611 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5954, allocations: 0 / 0.611 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.5955, allocations: 15.95 kB / 0.611 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003249/0.5958, allocations: 0.594 MB / 0.6116 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5958, allocations: 4.062 kB / 0.6116 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.5962, allocations: 297.2 kB / 0.6119 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5963, allocations: 116.8 kB / 0.612 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.5963, allocations: 3.984 kB / 0.612 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5966, allocations: 15.98 kB / 0.612 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.5966, allocations: 19.97 kB / 0.612 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.5966, allocations: 16 kB / 0.612 GB, free: 7.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.5968, allocations: 146.9 kB / 0.6122 GB, free: 7.121 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5968, allocations: 3.938 kB / 0.6122 GB, free: 7.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.5974, allocations: 139.9 kB / 0.6123 GB, free: 6.98 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.001095/0.5985, allocations: 0.9683 MB / 0.6132 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.599, allocations: 218.8 kB / 0.6135 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.599, allocations: 1.812 kB / 0.6135 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.5992, allocations: 79.83 kB / 0.6135 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.5997, allocations: 56.33 kB / 0.6136 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.6021, allocations: 1.56 MB / 0.6151 GB, free: 3.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6024, allocations: 0.7208 MB / 0.6158 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000819/0.6033, allocations: 386.5 kB / 0.6162 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6035, allocations: 95.36 kB / 0.6163 GB, free: 2.695 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6035, allocations: 4 kB / 0.6163 GB, free: 2.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.6421, allocations: 6.768 MB / 0.6229 GB, free: 12.11 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/0.6425, allocations: 257.4 kB / 0.6231 GB, free: 11.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.688, allocations: 0 / 0.6231 GB, free: 11.77 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat