Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001483, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009461, allocations: 103 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.486e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.38/16.53, allocations: 6.131 GB / 6.633 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/16.53, allocations: 83.16 kB / 6.633 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.055/17.58, allocations: 260.5 MB / 6.888 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/17.58, allocations: 0 / 6.888 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.837e-05/17.58, allocations: 3.812 kB / 6.888 GB, free: 94.95 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.01058/17.59, allocations: 1.934 MB / 6.89 GB, free: 93.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/17.59, allocations: 11.53 kB / 6.89 GB, free: 93.76 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/17.59, allocations: 61.27 kB / 6.89 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/17.59, allocations: 30.94 kB / 6.89 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/17.59, allocations: 242.9 kB / 6.89 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/17.59, allocations: 21.09 kB / 6.89 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/17.59, allocations: 26.19 kB / 6.89 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/17.59, allocations: 0.5008 MB / 6.89 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/17.59, allocations: 0 / 6.89 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/17.59, allocations: 18.39 kB / 6.89 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/17.59, allocations: 29.23 kB / 6.89 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/17.6, allocations: 0.9024 MB / 6.891 GB, free: 93.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/17.6, allocations: 1.834 MB / 6.893 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/17.6, allocations: 261.4 kB / 6.893 GB, free: 92.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/17.6, allocations: 108.1 kB / 6.894 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/17.61, allocations: 15.33 MB / 6.908 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004932/17.61, allocations: 242.7 kB / 6.909 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.474e-06/17.61, allocations: 0 / 6.909 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002118/17.62, allocations: 0.7236 MB / 6.909 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/17.62, allocations: 270.2 kB / 6.91 GB, free: 76.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/17.62, allocations: 183 kB / 6.91 GB, free: 75.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/17.62, allocations: 34.95 kB / 6.91 GB, free: 75.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/17.62, allocations: 200.8 kB / 6.91 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/17.62, allocations: 126.5 kB / 6.91 GB, free: 75.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/17.62, allocations: 14.28 kB / 6.91 GB, free: 75.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/17.62, allocations: 332 kB / 6.911 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/17.62, allocations: 92 kB / 6.911 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/17.62, allocations: 357.7 kB / 6.911 GB, free: 74.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/17.62, allocations: 150.9 kB / 6.911 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/17.62, allocations: 3.688 kB / 6.911 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00107/17.62, allocations: 0.4889 MB / 6.912 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/17.62, allocations: 6.844 kB / 6.912 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/17.62, allocations: 9 kB / 6.912 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/17.62, allocations: 15.25 kB / 6.912 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/17.62, allocations: 180 kB / 6.912 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/17.62, allocations: 1.199 MB / 6.913 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/17.62, allocations: 24.69 kB / 6.913 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/17.62, allocations: 51.88 kB / 6.913 GB, free: 73.66 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.0001163/17.62, allocations: 144.6 kB / 6.913 GB, free: 73.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/17.62, allocations: 33.97 kB / 6.913 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/17.62, allocations: 0.5221 MB / 6.914 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/17.62, allocations: 3.438 kB / 6.914 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/17.62, allocations: 0 / 6.914 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/17.62, allocations: 8.938 kB / 6.914 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/17.62, allocations: 0.5635 MB / 6.914 GB, free: 72.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/17.62, allocations: 0 / 6.914 GB, free: 72.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/17.62, allocations: 80.06 kB / 6.914 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/17.62, allocations: 7.812 kB / 6.914 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/17.62, allocations: 11.52 kB / 6.914 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004057/17.62, allocations: 1.165 MB / 6.916 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/17.62, allocations: 3.688 kB / 6.916 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/17.62, allocations: 324.1 kB / 6.916 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/17.62, allocations: 142.5 kB / 6.916 GB, free: 71.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/17.62, allocations: 11.02 kB / 6.916 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/17.62, allocations: 13.72 kB / 6.916 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/17.62, allocations: 22.17 kB / 6.916 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/17.62, allocations: 13.22 kB / 6.916 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001654/17.62, allocations: 176 kB / 6.916 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/17.62, allocations: 3.938 kB / 6.916 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01091/17.64, allocations: 1.994 MB / 6.918 GB, free: 70.78 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.01657/17.65, allocations: 3.699 MB / 6.922 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001235/17.65, allocations: 318.5 kB / 6.922 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/17.65, allocations: 0.625 kB / 6.922 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/17.65, allocations: 110.8 kB / 6.922 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/17.65, allocations: 49.59 kB / 6.922 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8971/18.55, allocations: 287.4 MB / 7.203 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/18.55, allocations: 0.7565 MB / 7.204 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006118/18.55, allocations: 139.3 kB / 7.204 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/18.55, allocations: 103.3 kB / 7.204 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/18.55, allocations: 0 / 7.204 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6554/19.21, allocations: 55.5 MB / 7.258 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/19.21, allocations: 245.2 kB / 7.258 GB, free: 72.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/23.54, allocations: 0 / 7.258 GB, free: 72.46 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat