Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 186.6 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.2 MB / 218.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009053/0.0009055, allocations: 90.59 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4997/0.4997, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.929e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1606, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6113/0.772, allocations: 194.3 MB / 0.6627 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.7725, allocations: 78.7 kB / 0.6627 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4894/1.262, allocations: 43.9 MB / 0.7056 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.675e-06/1.262, allocations: 0 / 0.7056 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.262, allocations: 3.031 kB / 0.7056 GB, free: 152.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001545/1.264, allocations: 0.616 MB / 0.7062 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.264, allocations: 13.16 kB / 0.7062 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/1.264, allocations: 51.56 kB / 0.7063 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/1.264, allocations: 47.38 kB / 0.7063 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/1.264, allocations: 218.5 kB / 0.7065 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.264, allocations: 13.62 kB / 0.7065 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/1.264, allocations: 16.72 kB / 0.7066 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/1.265, allocations: 235.9 kB / 0.7068 GB, free: 152 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.265, allocations: 0 / 0.7068 GB, free: 152 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/1.265, allocations: 7.188 kB / 0.7068 GB, free: 152 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.265, allocations: 8.875 kB / 0.7068 GB, free: 152 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/1.265, allocations: 236.9 kB / 0.707 GB, free: 152 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/1.267, allocations: 1.342 MB / 0.7083 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/1.267, allocations: 86.36 kB / 0.7084 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/1.267, allocations: 43.36 kB / 0.7085 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/1.269, allocations: 1.877 MB / 0.7103 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/1.269, allocations: 164.2 kB / 0.7104 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/1.269, allocations: 0 / 0.7104 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001102/1.27, allocations: 324.1 kB / 0.7108 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.27, allocations: 265.7 kB / 0.711 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/1.27, allocations: 147.6 kB / 0.7111 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.27, allocations: 29.39 kB / 0.7112 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/1.27, allocations: 146.8 kB / 0.7113 GB, free: 148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/1.271, allocations: 58.52 kB / 0.7114 GB, free: 148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/1.271, allocations: 8.969 kB / 0.7114 GB, free: 148 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.271, allocations: 334 kB / 0.7117 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/1.271, allocations: 37.94 kB / 0.7117 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.271, allocations: 182.3 kB / 0.7119 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/1.271, allocations: 71.36 kB / 0.712 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.271, allocations: 0 / 0.712 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004166/1.272, allocations: 254.2 kB / 0.7122 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.272, allocations: 16.8 kB / 0.7122 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.272, allocations: 4.906 kB / 0.7122 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/1.272, allocations: 8.781 kB / 0.7122 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/1.272, allocations: 94.5 kB / 0.7123 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002894/1.272, allocations: 0.5972 MB / 0.7129 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/1.273, allocations: 22.64 kB / 0.7129 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/1.273, allocations: 19.61 kB / 0.713 GB, free: 146.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.000119/1.273, allocations: 126.9 kB / 0.7131 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/1.273, allocations: 18.56 kB / 0.7131 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/1.273, allocations: 242 kB / 0.7133 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.273, allocations: 1.594 kB / 0.7133 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.273, allocations: 1.344 kB / 0.7133 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.274, allocations: 1.969 kB / 0.7133 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/1.274, allocations: 228.5 kB / 0.7136 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.274, allocations: 0 / 0.7136 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/1.274, allocations: 51.86 kB / 0.7136 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/1.274, allocations: 0 / 0.7136 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/1.274, allocations: 15.94 kB / 0.7136 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002447/1.274, allocations: 0.5857 MB / 0.7142 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.274, allocations: 0 / 0.7142 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/1.275, allocations: 143.5 kB / 0.7143 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.275, allocations: 126.8 kB / 0.7144 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/1.275, allocations: 3.953 kB / 0.7144 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.275, allocations: 7.188 kB / 0.7145 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/1.275, allocations: 13.41 kB / 0.7145 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/1.275, allocations: 6.375 kB / 0.7145 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001133/1.275, allocations: 134 kB / 0.7146 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 0 / 0.7146 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001016/1.276, allocations: 193.3 kB / 0.7148 GB, free: 145.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.001269/1.277, allocations: 0.9825 MB / 0.7157 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004627/1.278, allocations: 155 kB / 0.7159 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.278, allocations: 0 / 0.7159 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.278, allocations: 43.88 kB / 0.7159 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/1.278, allocations: 28.47 kB / 0.716 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.307, allocations: 11.6 MB / 0.7273 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/1.307, allocations: 0.7199 MB / 0.728 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003711/1.308, allocations: 105.6 kB / 0.7281 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/1.308, allocations: 55.62 kB / 0.7281 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/1.308, allocations: 0 / 0.7281 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/1.334, allocations: 6.282 MB / 0.7343 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.334, allocations: 234.2 kB / 0.7345 GB, free: 142 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/3.339, allocations: 0 / 0.7345 GB, free: 142 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat