Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 78.66 kB / 261.7 MB, free: 1.684 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.2471/0.2471, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.387e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 58.85 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.168/2.304, allocations: 0.6451 GB / 1.111 GB, free: 182.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/2.304, allocations: 79.14 kB / 1.111 GB, free: 182.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2046/2.509, allocations: 108.7 MB / 1.217 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/2.509, allocations: 0 / 1.217 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.552e-05/2.509, allocations: 4 kB / 1.217 GB, free: 85.62 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003449/2.512, allocations: 1.049 MB / 1.218 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/2.513, allocations: 8.031 kB / 1.218 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/2.513, allocations: 75.66 kB / 1.218 GB, free: 84.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/2.513, allocations: 250.7 kB / 1.219 GB, free: 84.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/2.513, allocations: 8 kB / 1.219 GB, free: 84.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/2.513, allocations: 12 kB / 1.219 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006279/2.514, allocations: 0.5905 MB / 1.219 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/2.515, allocations: 352.5 kB / 1.22 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/2.515, allocations: 4 kB / 1.22 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/2.515, allocations: 0 / 1.22 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/2.515, allocations: 8 kB / 1.22 GB, free: 83.15 MB / 0.4948 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.04675/2.561, allocations: 29.5 MB / 1.248 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/2.562, allocations: 38.56 kB / 1.248 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/2.562, allocations: 8.859 kB / 1.248 GB, free: 50.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007462/2.569, allocations: 3.545 MB / 1.252 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/2.569, allocations: 79.3 kB / 1.252 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/2.569, allocations: 0 / 1.252 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0008265/2.57, allocations: 153.4 kB / 1.252 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/2.57, allocations: 55.41 kB / 1.252 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/2.57, allocations: 224.2 kB / 1.252 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/2.57, allocations: 25.7 kB / 1.252 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/2.571, allocations: 254.3 kB / 1.253 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/2.571, allocations: 27.78 kB / 1.253 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/2.571, allocations: 7.938 kB / 1.253 GB, free: 45.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/2.571, allocations: 330.8 kB / 1.253 GB, free: 45.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/2.571, allocations: 44.88 kB / 1.253 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/2.571, allocations: 293.9 kB / 1.253 GB, free: 44.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/2.572, allocations: 212.2 kB / 1.254 GB, free: 44.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/2.572, allocations: 7.953 kB / 1.254 GB, free: 44.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001524/2.574, allocations: 449.4 kB / 1.254 GB, free: 44.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/2.574, allocations: 12 kB / 1.254 GB, free: 44.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/2.574, allocations: 8 kB / 1.254 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/2.574, allocations: 12 kB / 1.254 GB, free: 44.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/2.574, allocations: 107.8 kB / 1.254 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/2.574, allocations: 19.92 kB / 1.254 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/2.575, allocations: 51.31 kB / 1.254 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/2.575, allocations: 28.28 kB / 1.254 GB, free: 43.86 MB / 0.4948 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 9.819e-05/2.575, allocations: 124.8 kB / 1.254 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001808/2.575, allocations: 89.28 kB / 1.254 GB, free: 43.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/2.575, allocations: 23.75 kB / 1.254 GB, free: 43.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/2.575, allocations: 147.2 kB / 1.255 GB, free: 43.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/2.575, allocations: 0 / 1.255 GB, free: 43.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/2.575, allocations: 4 kB / 1.255 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/2.575, allocations: 0 / 1.255 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/2.576, allocations: 443.9 kB / 1.255 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/2.576, allocations: 0 / 1.255 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/2.576, allocations: 12 kB / 1.255 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/2.576, allocations: 0 / 1.255 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/2.576, allocations: 0 / 1.255 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/2.576, allocations: 4 kB / 1.255 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.576, allocations: 0 / 1.255 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/2.576, allocations: 205.8 kB / 1.255 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/2.576, allocations: 136.7 kB / 1.255 GB, free: 42.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/2.576, allocations: 0 / 1.255 GB, free: 42.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/2.576, allocations: 7.984 kB / 1.255 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/2.576, allocations: 4 kB / 1.255 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/2.576, allocations: 8 kB / 1.255 GB, free: 42.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001473/2.577, allocations: 177.9 kB / 1.256 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/2.577, allocations: 0 / 1.256 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001986/2.579, allocations: 419.4 kB / 1.256 GB, free: 41.97 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 (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.002234/2.581, allocations: 1.485 MB / 1.257 GB, free: 40.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002876/2.581, allocations: 145.7 kB / 1.258 GB, free: 40.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/2.581, allocations: 0 / 1.258 GB, free: 40.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/2.581, allocations: 20.19 kB / 1.258 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/2.581, allocations: 32.77 kB / 1.258 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5957/3.177, allocations: 165.3 MB / 1.419 GB, free: 70.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/3.177, allocations: 0.7458 MB / 1.42 GB, free: 70.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000591/3.178, allocations: 220.1 kB / 1.42 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/3.178, allocations: 79.41 kB / 1.42 GB, free: 69.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/3.178, allocations: 0 / 1.42 GB, free: 69.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/3.224, allocations: 13.35 MB / 1.433 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/3.224, allocations: 160.2 kB / 1.433 GB, free: 56.58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/5.556, allocations: 0 / 1.433 GB, free: 56.58 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat