Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008989/0.000899, allocations: 87.27 kB / 292.1 MB, free: 6.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1802/0.1802, allocations: 45.15 MB / 389.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.171e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 63.24 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.7/11.81, allocations: 6.132 GB / 6.644 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/11.81, allocations: 91.88 kB / 6.644 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.192/13, allocations: 259.4 MB / 6.897 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/13, allocations: 0 / 6.897 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.711e-05/13, allocations: 3.906 kB / 6.897 GB, free: 86.04 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009178/13.01, allocations: 1.929 MB / 6.899 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/13.01, allocations: 11.12 kB / 6.899 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/13.01, allocations: 66.47 kB / 6.899 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/13.01, allocations: 42.38 kB / 6.899 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/13.01, allocations: 244.3 kB / 6.9 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/13.01, allocations: 23.42 kB / 6.9 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/13.01, allocations: 25.84 kB / 6.9 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/13.01, allocations: 0.499 MB / 6.9 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/13.01, allocations: 6.031 kB / 6.9 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/13.01, allocations: 10.47 kB / 6.9 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/13.01, allocations: 26.31 kB / 6.9 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/13.02, allocations: 0.8972 MB / 6.901 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/13.02, allocations: 1.836 MB / 6.903 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/13.02, allocations: 261.3 kB / 6.903 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/13.02, allocations: 101.2 kB / 6.903 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/13.03, allocations: 15.34 MB / 6.918 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/13.03, allocations: 235.7 kB / 6.918 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/13.03, allocations: 0 / 6.918 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002052/13.03, allocations: 0.7239 MB / 6.919 GB, free: 67.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/13.03, allocations: 271.2 kB / 6.919 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/13.03, allocations: 187.4 kB / 6.919 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/13.03, allocations: 33.33 kB / 6.92 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/13.03, allocations: 191.8 kB / 6.92 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/13.03, allocations: 134.1 kB / 6.92 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/13.03, allocations: 9.875 kB / 6.92 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/13.03, allocations: 340 kB / 6.92 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/13.03, allocations: 86.97 kB / 6.92 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/13.04, allocations: 357.6 kB / 6.921 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/13.04, allocations: 156.4 kB / 6.921 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/13.04, allocations: 3.719 kB / 6.921 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001046/13.04, allocations: 0.4951 MB / 6.921 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/13.04, allocations: 11.16 kB / 6.921 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/13.04, allocations: 6.719 kB / 6.921 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/13.04, allocations: 20.81 kB / 6.921 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/13.04, allocations: 184.2 kB / 6.921 GB, free: 66.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000458/13.04, allocations: 1.182 MB / 6.923 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/13.04, allocations: 31.16 kB / 6.923 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/13.04, allocations: 47.61 kB / 6.923 GB, free: 65.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * 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.0001171/13.04, allocations: 144.3 kB / 6.923 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/13.04, allocations: 40.22 kB / 6.923 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/13.04, allocations: 0.5179 MB / 6.923 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/13.04, allocations: 7.609 kB / 6.923 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/13.04, allocations: 3.75 kB / 6.923 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/13.04, allocations: 0 / 6.923 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/13.04, allocations: 0.5593 MB / 6.924 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/13.04, allocations: 0 / 6.924 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/13.04, allocations: 84.86 kB / 6.924 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/13.04, allocations: 3.812 kB / 6.924 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/13.04, allocations: 14.27 kB / 6.924 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004066/13.04, allocations: 1.165 MB / 6.925 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/13.04, allocations: 3.953 kB / 6.925 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/13.04, allocations: 322.8 kB / 6.925 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/13.04, allocations: 145.7 kB / 6.926 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/13.04, allocations: 3.5 kB / 6.926 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/13.04, allocations: 17.06 kB / 6.926 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/13.04, allocations: 13.62 kB / 6.926 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/13.04, allocations: 11.73 kB / 6.926 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001427/13.04, allocations: 172.4 kB / 6.926 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/13.04, allocations: 1.219 kB / 6.926 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008897/13.05, allocations: 2.02 MB / 6.928 GB, free: 62.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.01685/13.07, allocations: 3.731 MB / 6.931 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001334/13.07, allocations: 305.1 kB / 6.932 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/13.07, allocations: 2.906 kB / 6.932 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/13.07, allocations: 114.8 kB / 6.932 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/13.07, allocations: 51.3 kB / 6.932 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7748/13.85, allocations: 287.5 MB / 7.213 GB, free: 53.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/13.85, allocations: 0.7542 MB / 7.213 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005257/13.85, allocations: 141.5 kB / 7.213 GB, free: 52.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/13.85, allocations: 98.41 kB / 7.214 GB, free: 52.62 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/13.85, allocations: 0 / 7.214 GB, free: 52.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08819/13.93, allocations: 55.73 MB / 7.268 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/13.93, allocations: 252.1 kB / 7.268 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.714/17.65, allocations: 3.062 kB / 7.268 GB, free: 7.309 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat