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.002226/0.002226, allocations: 177.3 kB / 17.06 MB, free: 5.082 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.492/1.492, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 97.42 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3925/0.3925, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 12 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4494, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5392/0.9886, allocations: 191.1 MB / 0.6963 GB, free: 104.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.9891, allocations: 83.64 kB / 0.6964 GB, free: 104.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08609/1.075, allocations: 34.55 MB / 0.7301 GB, free: 96.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/1.075, allocations: 0 / 0.7301 GB, free: 96.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/1.075, allocations: 3.875 kB / 0.7301 GB, free: 96.53 MB / 490.7 MB 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.001213/1.076, allocations: 0.5972 MB / 0.7307 GB, free: 96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.077, allocations: 11.5 kB / 0.7307 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/1.077, allocations: 48.8 kB / 0.7308 GB, free: 95.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/1.077, allocations: 45.09 kB / 0.7308 GB, free: 95.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/1.077, allocations: 219.9 kB / 0.731 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/1.077, allocations: 11.34 kB / 0.731 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/1.077, allocations: 18.81 kB / 0.731 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/1.078, allocations: 236.8 kB / 0.7313 GB, free: 95.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.078, allocations: 7.75 kB / 0.7313 GB, free: 95.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/1.078, allocations: 3.375 kB / 0.7313 GB, free: 95.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.078, allocations: 7.625 kB / 0.7313 GB, free: 95.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/1.078, allocations: 233.9 kB / 0.7315 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/1.079, allocations: 1.329 MB / 0.7328 GB, free: 94.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/1.079, allocations: 85.28 kB / 0.7329 GB, free: 94.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.081, allocations: 2.065 MB / 0.7349 GB, free: 91.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/1.081, allocations: 166 kB / 0.7351 GB, free: 91.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/1.081, allocations: 0 / 0.7351 GB, free: 91.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009471/1.082, allocations: 350.3 kB / 0.7354 GB, free: 91.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.082, allocations: 269.5 kB / 0.7356 GB, free: 91.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/1.082, allocations: 136.6 kB / 0.7358 GB, free: 91.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/1.082, allocations: 33.45 kB / 0.7358 GB, free: 91.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/1.082, allocations: 150.6 kB / 0.736 GB, free: 90.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/1.082, allocations: 60.25 kB / 0.736 GB, free: 90.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/1.082, allocations: 3.562 kB / 0.736 GB, free: 90.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.14e-05/1.082, allocations: 325.8 kB / 0.7363 GB, free: 90.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/1.083, allocations: 38.03 kB / 0.7364 GB, free: 90.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/1.083, allocations: 181.9 kB / 0.7365 GB, free: 90.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/1.083, allocations: 77.17 kB / 0.7366 GB, free: 90.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.083, allocations: 0 / 0.7366 GB, free: 90.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003623/1.083, allocations: 260 kB / 0.7369 GB, free: 90.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.083, allocations: 11.72 kB / 0.7369 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.083, allocations: 7.469 kB / 0.7369 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.083, allocations: 7.594 kB / 0.7369 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/1.084, allocations: 94.72 kB / 0.737 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002364/1.084, allocations: 0.5962 MB / 0.7376 GB, free: 89.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.084, allocations: 19.41 kB / 0.7376 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/1.084, allocations: 18.94 kB / 0.7376 GB, free: 89.64 MB / 490.7 MB 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 () * Number of clocked 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.0001097/1.084, allocations: 138.2 kB / 0.7377 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/1.084, allocations: 15.53 kB / 0.7377 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/1.085, allocations: 236.3 kB / 0.738 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.085, allocations: 3.875 kB / 0.738 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/1.085, allocations: 3.938 kB / 0.738 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.085, allocations: 8.016 kB / 0.738 GB, free: 89.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/1.085, allocations: 231.7 kB / 0.7382 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.085, allocations: 0 / 0.7382 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.085, allocations: 46.22 kB / 0.7382 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.085, allocations: 0 / 0.7382 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.085, allocations: 3.984 kB / 0.7382 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001901/1.086, allocations: 0.5887 MB / 0.7388 GB, free: 88.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.086, allocations: 4.094 kB / 0.7388 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/1.086, allocations: 136.6 kB / 0.739 GB, free: 88.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/1.086, allocations: 116.1 kB / 0.7391 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/1.086, allocations: 7.734 kB / 0.7391 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.086, allocations: 3.875 kB / 0.7391 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/1.086, allocations: 15.69 kB / 0.7391 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/1.086, allocations: 7.562 kB / 0.7391 GB, free: 88.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.105e-05/1.086, allocations: 128.5 kB / 0.7392 GB, free: 88.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.086, allocations: 0 / 0.7392 GB, free: 88.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006387/1.087, allocations: 150.4 kB / 0.7394 GB, free: 88.15 MB / 490.7 MB 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 () * Number of clocked 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.000866/1.088, allocations: 0.9049 MB / 0.7402 GB, free: 87.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004324/1.088, allocations: 152.7 kB / 0.7404 GB, free: 87.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.088, allocations: 320 / 0.7404 GB, free: 87.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.088, allocations: 55.06 kB / 0.7404 GB, free: 87.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/1.089, allocations: 25.88 kB / 0.7405 GB, free: 87.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/1.115, allocations: 15.32 MB / 0.7554 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/1.116, allocations: 0.7227 MB / 0.7561 GB, free: 78.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003258/1.116, allocations: 68.38 kB / 0.7562 GB, free: 78.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.116, allocations: 56.88 kB / 0.7563 GB, free: 78.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.116, allocations: 0 / 0.7563 GB, free: 78.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/1.136, allocations: 5.375 MB / 0.7615 GB, free: 74.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.137, allocations: 280.1 kB / 0.7618 GB, free: 73.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.972, allocations: 0 / 0.7618 GB, free: 73.99 MB / 490.7 MB (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