Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.001307/0.001307, allocations: 183.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.87/1.87, 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.001123/0.001122, allocations: 78.88 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.2736/0.2736, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.67/16.83, allocations: 6.606 GB / 7.084 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/16.84, allocations: 83.39 kB / 7.084 GB, free: 32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9931/17.83, allocations: 248.7 MB / 7.327 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.015e-06/17.83, allocations: 0 / 7.327 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.436e-05/17.83, allocations: 4 kB / 7.327 GB, free: 3.324 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01439/17.84, allocations: 1.909 MB / 7.329 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.693e-05/17.84, allocations: 12.02 kB / 7.329 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002997/17.84, allocations: 74.47 kB / 7.329 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/17.84, allocations: 31.72 kB / 7.329 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/17.84, allocations: 250.7 kB / 7.33 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/17.84, allocations: 16.56 kB / 7.33 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/17.84, allocations: 35.94 kB / 7.33 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/17.85, allocations: 0.4935 MB / 7.33 GB, free: 384 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/17.85, allocations: 7.938 kB / 7.33 GB, free: 376 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/17.85, allocations: 16 kB / 7.33 GB, free: 360 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/17.85, allocations: 24.55 kB / 7.33 GB, free: 336 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3771/18.22, allocations: 0.9013 MB / 7.331 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/18.23, allocations: 1.837 MB / 7.333 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/18.23, allocations: 271.2 kB / 7.333 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/18.24, allocations: 15.23 MB / 7.348 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/18.24, allocations: 251.4 kB / 7.348 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.265e-06/18.24, allocations: 0 / 7.348 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.00234/18.24, allocations: 0.7959 MB / 7.349 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/18.24, allocations: 268.6 kB / 7.349 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/18.25, allocations: 192.2 kB / 7.349 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/18.25, allocations: 29.64 kB / 7.349 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/18.25, allocations: 201.7 kB / 7.35 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/18.25, allocations: 125.1 kB / 7.35 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/18.25, allocations: 15.06 kB / 7.35 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/18.25, allocations: 337.5 kB / 7.35 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/18.25, allocations: 92.31 kB / 7.35 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/18.25, allocations: 359.8 kB / 7.351 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/18.25, allocations: 148.1 kB / 7.351 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/18.25, allocations: 2.812 kB / 7.351 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001331/18.25, allocations: 0.5032 MB / 7.351 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/18.25, allocations: 10.77 kB / 7.351 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/18.25, allocations: 9.062 kB / 7.351 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/18.25, allocations: 14.09 kB / 7.351 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/18.25, allocations: 181.2 kB / 7.351 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005543/18.25, allocations: 1.197 MB / 7.353 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/18.25, allocations: 18.56 kB / 7.353 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/18.25, allocations: 46.52 kB / 7.353 GB, free: 53 MB / 0.5105 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 () * Number of clocked 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.0002416/18.25, allocations: 175.4 kB / 7.353 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/18.25, allocations: 34.44 kB / 7.353 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/18.25, allocations: 0.5253 MB / 7.353 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/18.25, allocations: 5.844 kB / 7.353 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/18.25, allocations: 5.078 kB / 7.353 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/18.25, allocations: 0 / 7.353 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009821/18.25, allocations: 0.5654 MB / 7.354 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/18.25, allocations: 1.375 kB / 7.354 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/18.25, allocations: 87.09 kB / 7.354 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/18.25, allocations: 8.703 kB / 7.354 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/18.25, allocations: 4.125 kB / 7.354 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004924/18.25, allocations: 1.167 MB / 7.355 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/18.25, allocations: 8.875 kB / 7.355 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/18.25, allocations: 329.1 kB / 7.355 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/18.25, allocations: 142.2 kB / 7.356 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/18.25, allocations: 6.031 kB / 7.356 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/18.25, allocations: 14.88 kB / 7.356 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/18.25, allocations: 14.25 kB / 7.356 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/18.25, allocations: 14.22 kB / 7.356 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002219/18.25, allocations: 176.5 kB / 7.356 GB, free: 50.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/18.25, allocations: 0 / 7.356 GB, free: 50.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01465/18.27, allocations: 1.954 MB / 7.358 GB, free: 50.76 MB / 0.5105 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 () * Number of clocked 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.02036/18.29, allocations: 3.724 MB / 7.361 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001727/18.29, allocations: 312.2 kB / 7.362 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/18.29, allocations: 4.344 kB / 7.362 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004625/18.29, allocations: 108.3 kB / 7.362 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/18.29, allocations: 45.09 kB / 7.362 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8463/19.14, allocations: 279.4 MB / 7.635 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/19.14, allocations: 0.7559 MB / 7.635 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006523/19.14, allocations: 141.6 kB / 7.635 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/19.14, allocations: 95.86 kB / 7.636 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/19.14, allocations: 0 / 7.636 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/19.26, allocations: 57.76 MB / 7.692 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/19.26, allocations: 266.1 kB / 7.692 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/23.31, allocations: 2.25 kB / 7.692 GB, free: 44.91 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat