Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.744/1.744, allocations: 221.3 MB / 236 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 94.77 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2591/0.2591, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.692e-05, allocations: 0 / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1549, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5867/0.7416, allocations: 191 MB / 0.6884 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.742, allocations: 86.03 kB / 0.6885 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4787/1.221, allocations: 34.48 MB / 0.7221 GB, free: 177 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.476e-06/1.221, allocations: 0 / 0.7221 GB, free: 177 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.851e-05/1.221, allocations: 7.156 kB / 0.7221 GB, free: 177 MB / 0.5105 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.00179/1.223, allocations: 0.5797 MB / 0.7227 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.223, allocations: 9.188 kB / 0.7227 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/1.223, allocations: 54.75 kB / 0.7228 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/1.223, allocations: 45.89 kB / 0.7228 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/1.224, allocations: 209.2 kB / 0.723 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.224, allocations: 14.97 kB / 0.723 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/1.224, allocations: 12.69 kB / 0.723 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/1.224, allocations: 234 kB / 0.7233 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.224, allocations: 1.219 kB / 0.7233 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/1.224, allocations: 12.08 kB / 0.7233 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.224, allocations: 8.672 kB / 0.7233 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/1.225, allocations: 227.6 kB / 0.7235 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/1.226, allocations: 1.334 MB / 0.7248 GB, free: 175 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/1.227, allocations: 84.72 kB / 0.7249 GB, free: 175 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/1.227, allocations: 39.53 kB / 0.7249 GB, free: 175 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/1.228, allocations: 2.103 MB / 0.727 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/1.228, allocations: 163.8 kB / 0.7271 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/1.228, allocations: 0 / 0.7271 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0009798/1.229, allocations: 325.7 kB / 0.7274 GB, free: 172.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/1.23, allocations: 267.7 kB / 0.7277 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/1.23, allocations: 144.8 kB / 0.7278 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/1.23, allocations: 27.77 kB / 0.7279 GB, free: 172 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/1.23, allocations: 149.4 kB / 0.728 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/1.23, allocations: 66.73 kB / 0.7281 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/1.23, allocations: 4.812 kB / 0.7281 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/1.23, allocations: 324.8 kB / 0.7284 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/1.23, allocations: 42.72 kB / 0.7284 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/1.23, allocations: 179.4 kB / 0.7286 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/1.231, allocations: 67.47 kB / 0.7287 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.231, allocations: 2.031 kB / 0.7287 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005222/1.231, allocations: 258.1 kB / 0.7289 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.231, allocations: 13.34 kB / 0.7289 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.231, allocations: 5.25 kB / 0.7289 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.231, allocations: 7.094 kB / 0.7289 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/1.232, allocations: 97.33 kB / 0.729 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002706/1.232, allocations: 0.5956 MB / 0.7296 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/1.232, allocations: 10.59 kB / 0.7296 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/1.232, allocations: 20.8 kB / 0.7296 GB, free: 170.7 MB / 0.5105 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 9.622e-05/1.232, allocations: 130 kB / 0.7298 GB, free: 170.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/1.232, allocations: 18 kB / 0.7298 GB, free: 170.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/1.233, allocations: 229.3 kB / 0.73 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.233, allocations: 4.781 kB / 0.73 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.233, allocations: 0.5938 kB / 0.73 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.233, allocations: 2.047 kB / 0.73 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/1.233, allocations: 221.9 kB / 0.7302 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.233, allocations: 0 / 0.7302 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/1.234, allocations: 46.88 kB / 0.7303 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.234, allocations: 2.156 kB / 0.7303 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/1.234, allocations: 10.77 kB / 0.7303 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002388/1.234, allocations: 0.5814 MB / 0.7308 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.234, allocations: 1.219 kB / 0.7308 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/1.234, allocations: 153.1 kB / 0.731 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.234, allocations: 124 kB / 0.7311 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/1.234, allocations: 0.9375 kB / 0.7311 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.235, allocations: 7.188 kB / 0.7311 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/1.235, allocations: 14.09 kB / 0.7311 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/1.235, allocations: 8.953 kB / 0.7311 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001177/1.235, allocations: 125.5 kB / 0.7312 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.235, allocations: 1.125 kB / 0.7312 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008079/1.236, allocations: 143.1 kB / 0.7314 GB, free: 169.4 MB / 0.5105 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.001355/1.237, allocations: 0.906 MB / 0.7323 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005518/1.237, allocations: 155.2 kB / 0.7324 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.238, allocations: 0 / 0.7324 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/1.238, allocations: 42.16 kB / 0.7325 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/1.238, allocations: 36.67 kB / 0.7325 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/1.268, allocations: 11.35 MB / 0.7436 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.269, allocations: 0.7209 MB / 0.7443 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000385/1.269, allocations: 70.14 kB / 0.7444 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.269, allocations: 56.61 kB / 0.7444 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.269, allocations: 3.938 kB / 0.7444 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/1.293, allocations: 5.392 MB / 0.7497 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.294, allocations: 233.6 kB / 0.7499 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.242, allocations: 0 / 0.7499 GB, free: 164.5 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat