Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001231/0.001231, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3367/0.3367, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.16/2.341, allocations: 0.6458 GB / 1.125 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/2.342, allocations: 83.11 kB / 1.125 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2031/2.545, allocations: 111.5 MB / 1.234 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.275e-06/2.545, allocations: 0 / 1.234 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.689e-05/2.545, allocations: 4 kB / 1.234 GB, free: 106.9 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.004265/2.549, allocations: 1.061 MB / 1.235 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.389e-05/2.549, allocations: 12.02 kB / 1.235 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.918e-05/2.549, allocations: 66.53 kB / 1.235 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/2.55, allocations: 87.55 kB / 1.235 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/2.55, allocations: 242.7 kB / 1.235 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/2.55, allocations: 24.55 kB / 1.235 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/2.55, allocations: 24 kB / 1.235 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/2.551, allocations: 477.5 kB / 1.236 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/2.551, allocations: 3.938 kB / 1.236 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/2.552, allocations: 15.98 kB / 1.236 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/2.552, allocations: 8 kB / 1.236 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/2.552, allocations: 0.6812 MB / 1.236 GB, free: 104.1 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01071/2.563, allocations: 4.178 MB / 1.24 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/2.564, allocations: 215.3 kB / 1.241 GB, free: 99.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07792/2.642, allocations: 39.83 MB / 1.279 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/2.643, allocations: 314.5 kB / 1.28 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.667e-06/2.643, allocations: 0 / 1.28 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.002587/2.645, allocations: 0.7861 MB / 1.28 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/2.645, allocations: 427.6 kB / 1.281 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/2.646, allocations: 157.2 kB / 1.281 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/2.646, allocations: 33.7 kB / 1.281 GB, free: 54.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/2.646, allocations: 163.8 kB / 1.281 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/2.646, allocations: 118.4 kB / 1.281 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/2.646, allocations: 12 kB / 1.281 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/2.646, allocations: 330.8 kB / 1.282 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/2.646, allocations: 65.03 kB / 1.282 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/2.646, allocations: 306.1 kB / 1.282 GB, free: 53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/2.646, allocations: 111.9 kB / 1.282 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/2.646, allocations: 0 / 1.282 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006509/2.647, allocations: 405.3 kB / 1.283 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/2.647, allocations: 20.17 kB / 1.283 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/2.647, allocations: 8.078 kB / 1.283 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/2.647, allocations: 12 kB / 1.283 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/2.649, allocations: 255.7 kB / 1.283 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/2.65, allocations: 1.188 MB / 1.284 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/2.65, allocations: 19.89 kB / 1.284 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/2.65, allocations: 32 kB / 1.284 GB, free: 50.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001831/2.65, allocations: 161.6 kB / 1.284 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/2.65, allocations: 31.98 kB / 1.284 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/2.652, allocations: 0.9762 MB / 1.285 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/2.652, allocations: 15.98 kB / 1.285 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/2.652, allocations: 0 / 1.285 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/2.652, allocations: 11.94 kB / 1.285 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/2.68, allocations: 12.29 MB / 1.297 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/2.68, allocations: 4 kB / 1.297 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/2.681, allocations: 131.9 kB / 1.297 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/2.681, allocations: 4 kB / 1.297 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/2.681, allocations: 11.98 kB / 1.297 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002538/2.681, allocations: 0.5859 MB / 1.298 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.681, allocations: 4 kB / 1.298 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/2.682, allocations: 0.6227 MB / 1.299 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/2.682, allocations: 196.2 kB / 1.299 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/2.682, allocations: 15.95 kB / 1.299 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/2.682, allocations: 12 kB / 1.299 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/2.682, allocations: 19.97 kB / 1.299 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/2.682, allocations: 12 kB / 1.299 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002013/2.683, allocations: 215.2 kB / 1.299 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/2.683, allocations: 0 / 1.299 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002241/2.685, allocations: 479.4 kB / 1.299 GB, free: 33.82 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003776/2.689, allocations: 2.445 MB / 1.302 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001321/2.69, allocations: 400.6 kB / 1.302 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.69, allocations: 0 / 1.302 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/2.691, allocations: 249 kB / 1.302 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/2.691, allocations: 85.3 kB / 1.302 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.148/4.839, allocations: 0.6862 GB / 1.989 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/4.839, allocations: 0.8211 MB / 1.99 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00048/4.84, allocations: 159 kB / 1.99 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/4.84, allocations: 138.1 kB / 1.99 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/4.84, allocations: 4 kB / 1.99 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/4.879, allocations: 18.5 MB / 2.008 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/4.88, allocations: 229.5 kB / 2.008 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/7.677, allocations: 0 / 2.008 GB, free: 85.52 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat