Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001786/0.001786, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 230.7 MB, free: 7.535 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.0008907/0.0008909, allocations: 93.97 kB / 281.6 MB, free: 5.27 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.2129/0.2129, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.978e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 61.91 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.661/1.81, allocations: 0.5445 GB / 1.039 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.81, allocations: 79.95 kB / 1.039 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5669/2.377, allocations: 105.8 MB / 1.143 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.532e-06/2.377, allocations: 0 / 1.143 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.512e-05/2.377, allocations: 3.188 kB / 1.143 GB, free: 159.2 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003291/2.38, allocations: 1.024 MB / 1.144 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/2.38, allocations: 20.58 kB / 1.144 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/2.381, allocations: 75.53 kB / 1.144 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/2.381, allocations: 247.1 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/2.381, allocations: 7.938 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/2.381, allocations: 26.03 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007498/2.382, allocations: 0.5857 MB / 1.145 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/2.383, allocations: 353.9 kB / 1.145 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/2.383, allocations: 3.469 kB / 1.145 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/2.383, allocations: 3.719 kB / 1.145 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/2.383, allocations: 11.66 kB / 1.145 GB, free: 157.9 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.04647/2.429, allocations: 29.49 MB / 1.174 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/2.429, allocations: 30.58 kB / 1.174 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/2.429, allocations: 24.91 kB / 1.174 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007176/2.437, allocations: 3.537 MB / 1.177 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/2.437, allocations: 75.27 kB / 1.177 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/2.437, allocations: 0 / 1.177 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.000754/2.438, allocations: 169.2 kB / 1.178 GB, free: 123 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/2.438, allocations: 51.41 kB / 1.178 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/2.438, allocations: 224.2 kB / 1.178 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/2.438, allocations: 29.7 kB / 1.178 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/2.438, allocations: 250.4 kB / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/2.438, allocations: 27.64 kB / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/2.438, allocations: 0 / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/2.438, allocations: 326.8 kB / 1.178 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/2.438, allocations: 52.86 kB / 1.178 GB, free: 122 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/2.438, allocations: 297.8 kB / 1.179 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/2.44, allocations: 215.7 kB / 1.179 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.44, allocations: 0 / 1.179 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001485/2.441, allocations: 445.6 kB / 1.179 GB, free: 121 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/2.441, allocations: 8 kB / 1.179 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/2.441, allocations: 12.12 kB / 1.179 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/2.441, allocations: 12 kB / 1.179 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/2.442, allocations: 119.7 kB / 1.18 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/2.442, allocations: 15.94 kB / 1.18 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/2.442, allocations: 51.42 kB / 1.18 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/2.442, allocations: 28 kB / 1.18 GB, free: 120.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/2.442, allocations: 120.7 kB / 1.18 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001762/2.442, allocations: 85.39 kB / 1.18 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/2.442, allocations: 23.81 kB / 1.18 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/2.443, allocations: 151.1 kB / 1.18 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/2.443, allocations: 4 kB / 1.18 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.443, allocations: 0 / 1.18 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/2.443, allocations: 96 / 1.18 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/2.443, allocations: 427.8 kB / 1.18 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/2.443, allocations: 8.172 kB / 1.18 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/2.443, allocations: 19.92 kB / 1.18 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/2.443, allocations: 7.953 kB / 1.18 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/2.443, allocations: 0 / 1.18 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/2.443, allocations: 0 / 1.18 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.443, allocations: 0 / 1.18 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/2.443, allocations: 201.9 kB / 1.181 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/2.443, allocations: 128.8 kB / 1.181 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/2.443, allocations: 4 kB / 1.181 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/2.444, allocations: 11.98 kB / 1.181 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/2.444, allocations: 4 kB / 1.181 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/2.444, allocations: 0 / 1.181 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001228/2.444, allocations: 181.9 kB / 1.181 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.444, allocations: 0 / 1.181 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001842/2.446, allocations: 423.3 kB / 1.181 GB, free: 118.8 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/2.448, allocations: 1.485 MB / 1.183 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002903/2.448, allocations: 157.8 kB / 1.183 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/2.448, allocations: 0 / 1.183 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/2.448, allocations: 12 kB / 1.183 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/2.448, allocations: 24.88 kB / 1.183 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6014/3.05, allocations: 162.6 MB / 1.342 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/3.05, allocations: 0.7422 MB / 1.342 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005728/3.051, allocations: 230.2 kB / 1.343 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/3.051, allocations: 80.55 kB / 1.343 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/3.051, allocations: 0 / 1.343 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/3.094, allocations: 13.32 MB / 1.356 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/3.095, allocations: 164.5 kB / 1.356 GB, free: 138 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/5.562, allocations: 0 / 1.356 GB, free: 138 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat