Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001466/0.001466, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 105.1 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4962/0.4962, allocations: 45.22 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 11.98 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5238, allocations: 63.25 MB / 0.5193 GB, free: 43.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.989, allocations: 0.5463 GB / 1.066 GB, free: 53.12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/1.989, allocations: 89.73 kB / 1.066 GB, free: 53.08 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6572/2.646, allocations: 108.7 MB / 1.172 GB, free: 165 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.308e-06/2.646, allocations: 3.797 kB / 1.172 GB, free: 165 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.478e-05/2.647, allocations: 3.031 kB / 1.172 GB, free: 165 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.005399/2.652, allocations: 1.036 MB / 1.173 GB, free: 164.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.739e-05/2.652, allocations: 7.844 kB / 1.173 GB, free: 164.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/2.652, allocations: 65.69 kB / 1.173 GB, free: 164.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/2.653, allocations: 76.91 kB / 1.173 GB, free: 164.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/2.654, allocations: 256 kB / 1.173 GB, free: 164 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/2.654, allocations: 24.38 kB / 1.173 GB, free: 164 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/2.654, allocations: 27.5 kB / 1.173 GB, free: 164 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/2.655, allocations: 475.8 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/2.655, allocations: 3.969 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/2.655, allocations: 14.12 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/2.655, allocations: 3.969 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/2.656, allocations: 0.6804 MB / 1.174 GB, free: 163.6 MB / 0.5417 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.0101/2.666, allocations: 4.175 MB / 1.178 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/2.667, allocations: 214.2 kB / 1.179 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08587/2.753, allocations: 39.82 MB / 1.218 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007561/2.754, allocations: 306.5 kB / 1.218 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 5.27e-06/2.754, allocations: 0 / 1.218 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.00264/2.757, allocations: 0.793 MB / 1.219 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/2.757, allocations: 431.5 kB / 1.219 GB, free: 129.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/2.757, allocations: 157.2 kB / 1.219 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/2.757, allocations: 33.7 kB / 1.219 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/2.757, allocations: 163.8 kB / 1.219 GB, free: 129.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.545e-05/2.757, allocations: 122.3 kB / 1.219 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/2.757, allocations: 8 kB / 1.219 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/2.757, allocations: 334.8 kB / 1.22 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/2.758, allocations: 65.08 kB / 1.22 GB, free: 129 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/2.758, allocations: 306.1 kB / 1.22 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/2.758, allocations: 107.9 kB / 1.22 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/2.758, allocations: 4 kB / 1.22 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007042/2.759, allocations: 405.2 kB / 1.221 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/2.759, allocations: 8 kB / 1.221 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/2.759, allocations: 15.89 kB / 1.221 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/2.759, allocations: 16 kB / 1.221 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/2.761, allocations: 260.2 kB / 1.221 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005861/2.761, allocations: 1.18 MB / 1.222 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/2.762, allocations: 24.08 kB / 1.222 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/2.762, allocations: 35.98 kB / 1.222 GB, free: 126.5 MB / 0.5417 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.0002161/2.762, allocations: 153.7 kB / 1.222 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/2.762, allocations: 27.72 kB / 1.222 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/2.763, allocations: 0.9799 MB / 1.223 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/2.763, allocations: 11.98 kB / 1.223 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/2.764, allocations: 4.156 kB / 1.223 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.764, allocations: 4 kB / 1.223 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02773/2.791, allocations: 12.29 MB / 1.235 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/2.791, allocations: 0 / 1.235 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/2.792, allocations: 143.8 kB / 1.235 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/2.792, allocations: 0 / 1.235 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/2.792, allocations: 12 kB / 1.235 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000318/2.793, allocations: 0.5899 MB / 1.236 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/2.793, allocations: 0 / 1.236 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/2.794, allocations: 0.6354 MB / 1.237 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/2.794, allocations: 188.2 kB / 1.237 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/2.794, allocations: 11.95 kB / 1.237 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/2.794, allocations: 15.98 kB / 1.237 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/2.794, allocations: 31.91 kB / 1.237 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/2.795, allocations: 8 kB / 1.237 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002453/2.795, allocations: 211.2 kB / 1.237 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.795, allocations: 0 / 1.237 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002947/2.798, allocations: 475.4 kB / 1.238 GB, free: 109.5 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 () * 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.00492/2.803, allocations: 2.445 MB / 1.24 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00163/2.804, allocations: 396 kB / 1.24 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/2.804, allocations: 3.938 kB / 1.24 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006693/2.805, allocations: 243.9 kB / 1.241 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/2.806, allocations: 87.2 kB / 1.241 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.07/4.876, allocations: 0.6836 GB / 1.924 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/4.876, allocations: 0.8165 MB / 1.925 GB, free: 27.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005822/4.877, allocations: 151.9 kB / 1.925 GB, free: 27.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/4.877, allocations: 139.4 kB / 1.925 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.542e-06/4.877, allocations: 0 / 1.925 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3635/5.24, allocations: 18.5 MB / 1.943 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/5.241, allocations: 236.5 kB / 1.944 GB, free: 142.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/8.457, allocations: 3.906 kB / 1.944 GB, free: 142.8 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat