Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001077/0.001077, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007899/0.0007899, allocations: 83.25 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1799/0.1799, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.468e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09864, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.353, allocations: 0.5462 GB / 1.058 GB, free: 134 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.353, allocations: 79.95 kB / 1.058 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1734/1.527, allocations: 108.5 MB / 1.164 GB, free: 25.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/1.527, allocations: 0 / 1.164 GB, free: 25.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.598e-05/1.527, allocations: 4 kB / 1.164 GB, free: 25.18 MB / 0.5417 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.00299/1.53, allocations: 1.029 MB / 1.165 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.53, allocations: 11.97 kB / 1.165 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.024e-05/1.53, allocations: 62.53 kB / 1.165 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005624/1.531, allocations: 75.66 kB / 1.165 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/1.531, allocations: 254.7 kB / 1.165 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.531, allocations: 20.5 kB / 1.165 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/1.531, allocations: 35.98 kB / 1.165 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/1.532, allocations: 481.5 kB / 1.166 GB, free: 23.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.532, allocations: 4 kB / 1.166 GB, free: 23.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/1.532, allocations: 12 kB / 1.166 GB, free: 23.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.532, allocations: 8 kB / 1.166 GB, free: 23.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/1.533, allocations: 0.693 MB / 1.166 GB, free: 22.39 MB / 0.5417 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.009155/1.542, allocations: 5.381 MB / 1.172 GB, free: 16.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/1.542, allocations: 184.5 kB / 1.172 GB, free: 16.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/1.543, allocations: 58.25 kB / 1.172 GB, free: 16.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3203/1.863, allocations: 25.83 MB / 1.197 GB, free: 157.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/1.863, allocations: 299.6 kB / 1.197 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/1.863, allocations: 0 / 1.197 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26): time 0.001022/1.865, allocations: 369.1 kB / 1.198 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/1.865, allocations: 425.6 kB / 1.198 GB, free: 156.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.865, allocations: 178.3 kB / 1.198 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.865, allocations: 30.08 kB / 1.198 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/1.865, allocations: 197.5 kB / 1.198 GB, free: 156.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/1.865, allocations: 93.52 kB / 1.199 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/1.865, allocations: 7.875 kB / 1.199 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/1.865, allocations: 331.6 kB / 1.199 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/1.865, allocations: 58.05 kB / 1.199 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/1.865, allocations: 303.3 kB / 1.199 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/1.865, allocations: 107 kB / 1.199 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.865, allocations: 6.75 kB / 1.199 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005751/1.866, allocations: 388.2 kB / 1.2 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.866, allocations: 8.031 kB / 1.2 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.866, allocations: 11.75 kB / 1.2 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.866, allocations: 11.84 kB / 1.2 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/1.866, allocations: 105.9 kB / 1.2 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.866, allocations: 21.33 kB / 1.2 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/1.867, allocations: 52.55 kB / 1.2 GB, free: 155.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/1.867, allocations: 32.67 kB / 1.2 GB, free: 155.8 MB / 0.5417 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.175e-05/1.867, allocations: 140.5 kB / 1.2 GB, free: 155.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/1.867, allocations: 31.11 kB / 1.2 GB, free: 155.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/1.868, allocations: 0.814 MB / 1.201 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.868, allocations: 11.06 kB / 1.201 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.868, allocations: 1.062 kB / 1.201 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.868, allocations: 5.312 kB / 1.201 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/1.892, allocations: 12.23 MB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.892, allocations: 2.25 kB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.892, allocations: 24.44 kB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.892, allocations: 3.406 kB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.892, allocations: 7.844 kB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/1.892, allocations: 9.078 kB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.892, allocations: 2.938 kB / 1.213 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/1.893, allocations: 492.2 kB / 1.213 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.893, allocations: 193.8 kB / 1.214 GB, free: 149.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/1.893, allocations: 6.219 kB / 1.214 GB, free: 149.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.893, allocations: 19.08 kB / 1.214 GB, free: 149.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/1.893, allocations: 20.78 kB / 1.214 GB, free: 149.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/1.893, allocations: 7.062 kB / 1.214 GB, free: 149.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002272/1.893, allocations: 223.1 kB / 1.214 GB, free: 149 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/1.893, allocations: 0 / 1.214 GB, free: 149 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001593/1.895, allocations: 433 kB / 1.214 GB, free: 149 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002313/1.897, allocations: 2.24 MB / 1.216 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005696/1.898, allocations: 246.3 kB / 1.217 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.898, allocations: 0.5 kB / 1.217 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.898, allocations: 109.8 kB / 1.217 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/1.899, allocations: 78.69 kB / 1.217 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.638/3.537, allocations: 0.7315 GB / 1.948 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/3.537, allocations: 0.804 MB / 1.949 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004468/3.538, allocations: 149.4 kB / 1.949 GB, free: 80.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/3.538, allocations: 121.6 kB / 1.949 GB, free: 80.41 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/3.538, allocations: 0 / 1.949 GB, free: 80.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/3.572, allocations: 17.51 MB / 1.967 GB, free: 63.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/3.572, allocations: 171.6 kB / 1.967 GB, free: 63.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/6.159, allocations: 0 / 1.967 GB, free: 63.1 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat