Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, 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.522/1.522, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009506/0.0009506, allocations: 108 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5333/0.5333, allocations: 45.22 MB / 394.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.000406, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.5602, allocations: 63.25 MB / 0.5193 GB, free: 43.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/1.956, allocations: 0.5463 GB / 1.066 GB, free: 73.44 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.956, allocations: 83.92 kB / 1.066 GB, free: 73.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6492/2.605, allocations: 108.7 MB / 1.172 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.815e-06/2.605, allocations: 0 / 1.172 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.399e-05/2.605, allocations: 4.125 kB / 1.172 GB, free: 169.5 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.004424/2.61, allocations: 1.03 MB / 1.173 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/2.61, allocations: 13.62 kB / 1.173 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/2.61, allocations: 68.02 kB / 1.173 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000736/2.611, allocations: 80.2 kB / 1.173 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/2.611, allocations: 250 kB / 1.173 GB, free: 168.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/2.611, allocations: 19.62 kB / 1.173 GB, free: 168.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/2.612, allocations: 24.69 kB / 1.173 GB, free: 168.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/2.613, allocations: 479.1 kB / 1.174 GB, free: 168.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/2.613, allocations: 7.875 kB / 1.174 GB, free: 168.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/2.613, allocations: 15 kB / 1.174 GB, free: 168.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/2.613, allocations: 9.719 kB / 1.174 GB, free: 168.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/2.614, allocations: 0.676 MB / 1.174 GB, free: 168.1 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.01123/2.626, allocations: 4.141 MB / 1.178 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/2.627, allocations: 220.6 kB / 1.179 GB, free: 166 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1012/2.728, allocations: 42.5 MB / 1.22 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/2.729, allocations: 240.5 kB / 1.22 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=20): time 4.559e-06/2.729, allocations: 0 / 1.22 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22): time 0.003038/2.732, allocations: 0.7224 MB / 1.221 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/2.732, allocations: 265.9 kB / 1.221 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/2.732, allocations: 194.1 kB / 1.221 GB, free: 140.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/2.732, allocations: 29.7 kB / 1.222 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/2.732, allocations: 207.3 kB / 1.222 GB, free: 140 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/2.732, allocations: 82.84 kB / 1.222 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/2.732, allocations: 8 kB / 1.222 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001264/2.733, allocations: 330.8 kB / 1.222 GB, free: 139.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/2.733, allocations: 65.08 kB / 1.222 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/2.733, allocations: 342.9 kB / 1.223 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/2.733, allocations: 123.8 kB / 1.223 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/2.733, allocations: 7.938 kB / 1.223 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008322/2.734, allocations: 435.4 kB / 1.223 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/2.734, allocations: 12 kB / 1.223 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/2.734, allocations: 12 kB / 1.223 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/2.736, allocations: 305.5 kB / 1.223 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/2.736, allocations: 103.8 kB / 1.223 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000663/2.737, allocations: 1.223 MB / 1.225 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/2.737, allocations: 23.91 kB / 1.225 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/2.737, allocations: 28.19 kB / 1.225 GB, free: 136.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/2.738, allocations: 161.6 kB / 1.225 GB, free: 136.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/2.738, allocations: 27.7 kB / 1.225 GB, free: 136.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/2.739, allocations: 0.7969 MB / 1.226 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/2.739, allocations: 7.984 kB / 1.226 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/2.739, allocations: 4 kB / 1.226 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/2.739, allocations: 0 / 1.226 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/2.74, allocations: 0.49 MB / 1.226 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/2.74, allocations: 12.23 kB / 1.226 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/2.74, allocations: 31.92 kB / 1.226 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/2.741, allocations: 249.3 kB / 1.226 GB, free: 134.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/2.741, allocations: 8 kB / 1.226 GB, free: 134.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006033/2.742, allocations: 1.262 MB / 1.228 GB, free: 133.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.742, allocations: 8.016 kB / 1.228 GB, free: 133.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/2.742, allocations: 0.5439 MB / 1.228 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/2.743, allocations: 216.1 kB / 1.228 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/2.743, allocations: 8 kB / 1.228 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/2.743, allocations: 15.91 kB / 1.228 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/2.743, allocations: 23.91 kB / 1.228 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/2.743, allocations: 8 kB / 1.228 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003531/2.743, allocations: 298.9 kB / 1.229 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/2.743, allocations: 0 / 1.229 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002481/2.746, allocations: 419.4 kB / 1.229 GB, free: 132 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004649/2.751, allocations: 2.22 MB / 1.231 GB, free: 129.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006858/2.751, allocations: 324.5 kB / 1.232 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.751, allocations: 0 / 1.232 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/2.752, allocations: 181.5 kB / 1.232 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/2.752, allocations: 78.61 kB / 1.232 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.697/6.449, allocations: 1.26 GB / 2.492 GB, free: 61.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/6.45, allocations: 0.8383 MB / 2.493 GB, free: 60.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004521/6.45, allocations: 121.8 kB / 2.493 GB, free: 60.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/6.451, allocations: 151.4 kB / 2.493 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of SimCode: time 2.976e-06/6.451, allocations: 0 / 2.493 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/6.492, allocations: 17.02 MB / 2.51 GB, free: 44.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/6.492, allocations: 229.8 kB / 2.51 GB, free: 43.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/9.46, allocations: 0 / 2.51 GB, free: 43.85 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat