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.001009/0.001009, allocations: 96.86 kB / 16.99 MB, free: 6.402 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.001316/0.001316, allocations: 178.6 kB / 17.88 MB, free: 5.957 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.48/1.48, allocations: 223.2 MB / 241.8 MB, free: 408 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.2466/0.2466, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4525/0.6105, allocations: 126.1 MB / 0.5837 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005891/0.6164, allocations: 4.842 MB / 0.5884 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.6166, allocations: 0 / 0.5884 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.6169, allocations: 47.78 kB / 0.5884 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.6198, allocations: 0.9704 MB / 0.5894 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.6201, allocations: 131.1 kB / 0.5895 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.6205, allocations: 263.5 kB / 0.5898 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.6206, allocations: 17.67 kB / 0.5898 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.6209, allocations: 163.5 kB / 0.5899 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.6212, allocations: 151.6 kB / 0.5901 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.6212, allocations: 8 kB / 0.5901 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6231, allocations: 0.9559 MB / 0.591 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.6231, allocations: 43.86 kB / 0.5911 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.6232, allocations: 69.58 kB / 0.5911 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008358/0.6241, allocations: 0.5609 MB / 0.5917 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6241, allocations: 0 / 0.5917 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6241, allocations: 0 / 0.5917 GB, free: 11.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.6241, allocations: 0 / 0.5917 GB, free: 11.58 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.001124/0.6252, allocations: 0.6209 MB / 0.5923 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6253, allocations: 12.03 kB / 0.5923 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.992e-05/0.6253, allocations: 62.53 kB / 0.5924 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007216/0.6326, allocations: 0.5849 MB / 0.5929 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.6331, allocations: 251.2 kB / 0.5932 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6332, allocations: 123.4 kB / 0.5933 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.6333, allocations: 24 kB / 0.5933 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.6345, allocations: 0.5594 MB / 0.5939 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6346, allocations: 0 / 0.5939 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.104e-05/0.6346, allocations: 15.94 kB / 0.5939 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.6347, allocations: 7.938 kB / 0.5939 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.6361, allocations: 0.6338 MB / 0.5945 GB, free: 8.531 MB / 430.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.002175/0.6383, allocations: 1.715 MB / 0.5962 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.6386, allocations: 150.5 kB / 0.5963 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/0.6393, allocations: 0.7126 MB / 0.597 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.6393, allocations: 42.5 kB / 0.5971 GB, free: 5.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 3.306e-06/0.6393, allocations: 7.984 kB / 0.5971 GB, free: 5.641 MB / 430.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.001016/0.6404, allocations: 313.5 kB / 0.5974 GB, free: 5.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.6404, allocations: 51.41 kB / 0.5974 GB, free: 5.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.6406, allocations: 199 kB / 0.5976 GB, free: 5.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.6407, allocations: 29.7 kB / 0.5976 GB, free: 5.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.6408, allocations: 183.1 kB / 0.5978 GB, free: 4.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.6408, allocations: 71.08 kB / 0.5979 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.6409, allocations: 8 kB / 0.5979 GB, free: 4.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.641, allocations: 326.8 kB / 0.5982 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6411, allocations: 64.7 kB / 0.5983 GB, free: 4.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.6414, allocations: 260.5 kB / 0.5985 GB, free: 4.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.6415, allocations: 103.9 kB / 0.5986 GB, free: 3.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6416, allocations: 4 kB / 0.5986 GB, free: 3.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005569/0.6421, allocations: 365.5 kB / 0.599 GB, free: 3.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6422, allocations: 11.95 kB / 0.599 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6422, allocations: 8 kB / 0.599 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.6422, allocations: 12 kB / 0.599 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.6426, allocations: 123.8 kB / 0.5991 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003485/0.643, allocations: 0.6055 MB / 0.5997 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.6433, allocations: 43.72 kB / 0.5997 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.6433, allocations: 47.98 kB / 0.5998 GB, free: 2.688 MB / 430.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.0001586/0.6435, allocations: 145.6 kB / 0.5999 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.6436, allocations: 15.81 kB / 0.5999 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.6445, allocations: 441.5 kB / 0.6004 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6445, allocations: 4 kB / 0.6004 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6445, allocations: 0 / 0.6004 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6445, allocations: 7.969 kB / 0.6004 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.6454, allocations: 0.6228 MB / 0.601 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6454, allocations: 0 / 0.601 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.6456, allocations: 55.97 kB / 0.601 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6456, allocations: 4 kB / 0.601 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6457, allocations: 8 kB / 0.601 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003017/0.646, allocations: 0.5998 MB / 0.6016 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.646, allocations: 8.188 kB / 0.6016 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.6464, allocations: 383.7 kB / 0.602 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.6465, allocations: 108.9 kB / 0.6021 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.6465, allocations: 8 kB / 0.6021 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.6468, allocations: 11.98 kB / 0.6021 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.6468, allocations: 15.98 kB / 0.6021 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.6469, allocations: 19.98 kB / 0.6022 GB, free: 20 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.647, allocations: 139.1 kB / 0.6023 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.647, allocations: 0 / 0.6023 GB, free: 15.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000648/0.6477, allocations: 151.9 kB / 0.6024 GB, free: 15.73 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.001192/0.6489, allocations: 1.526 MB / 0.6039 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.6494, allocations: 213.2 kB / 0.6041 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6494, allocations: 0 / 0.6041 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.6496, allocations: 88.27 kB / 0.6042 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.65, allocations: 47.95 kB / 0.6043 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.6534, allocations: 5.859 MB / 0.61 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6537, allocations: 0.7364 MB / 0.6107 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008532/0.6545, allocations: 390.1 kB / 0.6111 GB, free: 6.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.6548, allocations: 103.4 kB / 0.6112 GB, free: 6.512 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6548, allocations: 0 / 0.6112 GB, free: 6.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.6778, allocations: 6.743 MB / 0.6178 GB, free: 15.94 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.6781, allocations: 256.5 kB / 0.618 GB, free: 15.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.573, allocations: 0 / 0.618 GB, free: 15.6 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