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.002916/0.002916, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009671/0.000967, allocations: 102.4 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5558/0.5558, allocations: 45.24 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8.219 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5359/0.5362, allocations: 63.24 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.12/16.65, allocations: 6.133 GB / 6.652 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/16.65, allocations: 87.03 kB / 6.652 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.072/17.72, allocations: 259.8 MB / 6.906 GB, free: 93.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.314e-06/17.72, allocations: 0 / 6.906 GB, free: 93.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.85e-05/17.72, allocations: 3.656 kB / 6.906 GB, free: 93.3 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01104/17.73, allocations: 1.934 MB / 6.907 GB, free: 92.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/17.73, allocations: 7.844 kB / 6.907 GB, free: 92.08 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/17.73, allocations: 71.94 kB / 6.908 GB, free: 92.04 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/17.73, allocations: 31.36 kB / 6.908 GB, free: 92.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/17.74, allocations: 248.6 kB / 6.908 GB, free: 91.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/17.74, allocations: 26.88 kB / 6.908 GB, free: 91.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/17.74, allocations: 23.19 kB / 6.908 GB, free: 91.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/17.74, allocations: 0.5117 MB / 6.908 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/17.74, allocations: 0 / 6.908 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/17.74, allocations: 14.19 kB / 6.908 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/17.74, allocations: 22.92 kB / 6.908 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/17.74, allocations: 0.9093 MB / 6.909 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/17.74, allocations: 1.829 MB / 6.911 GB, free: 90.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/17.74, allocations: 271.4 kB / 6.911 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.015/17.76, allocations: 15.24 MB / 6.926 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/17.76, allocations: 236.8 kB / 6.926 GB, free: 75.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/17.76, allocations: 6.625 kB / 6.926 GB, free: 75.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002286/17.76, allocations: 0.7832 MB / 6.927 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/17.76, allocations: 271.3 kB / 6.927 GB, free: 74.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/17.76, allocations: 189 kB / 6.928 GB, free: 74.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/17.76, allocations: 36.14 kB / 6.928 GB, free: 74.42 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/17.76, allocations: 200.7 kB / 6.928 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/17.76, allocations: 122.7 kB / 6.928 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/17.76, allocations: 12.34 kB / 6.928 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/17.76, allocations: 334.9 kB / 6.928 GB, free: 73.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/17.76, allocations: 89.59 kB / 6.928 GB, free: 73.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/17.76, allocations: 366.5 kB / 6.929 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/17.76, allocations: 158.8 kB / 6.929 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/17.76, allocations: 6.375 kB / 6.929 GB, free: 73.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001106/17.76, allocations: 0.4973 MB / 6.929 GB, free: 73.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/17.76, allocations: 11.53 kB / 6.929 GB, free: 73.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/17.76, allocations: 7.688 kB / 6.929 GB, free: 73.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/17.76, allocations: 15.41 kB / 6.929 GB, free: 73.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/17.76, allocations: 180.6 kB / 6.93 GB, free: 73.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004515/17.76, allocations: 1.189 MB / 6.931 GB, free: 72.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/17.76, allocations: 40.94 kB / 6.931 GB, free: 72.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/17.76, allocations: 49.02 kB / 6.931 GB, free: 72.24 MB / 0.5417 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.0001676/17.76, allocations: 166.1 kB / 6.931 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/17.76, allocations: 30.73 kB / 6.931 GB, free: 72.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/17.76, allocations: 0.5287 MB / 6.932 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/17.76, allocations: 2.594 kB / 6.932 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/17.76, allocations: 3.953 kB / 6.932 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/17.76, allocations: 0 / 6.932 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/17.76, allocations: 0.5737 MB / 6.932 GB, free: 71.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/17.76, allocations: 0 / 6.932 GB, free: 71.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/17.77, allocations: 77.89 kB / 6.932 GB, free: 71.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/17.77, allocations: 3.953 kB / 6.932 GB, free: 71.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/17.77, allocations: 12.64 kB / 6.932 GB, free: 71.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004315/17.77, allocations: 1.168 MB / 6.933 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/17.77, allocations: 3.953 kB / 6.933 GB, free: 70.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/17.77, allocations: 332.2 kB / 6.934 GB, free: 70.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/17.77, allocations: 147.7 kB / 6.934 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/17.77, allocations: 0 / 6.934 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/17.77, allocations: 15.75 kB / 6.934 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/17.77, allocations: 14.48 kB / 6.934 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/17.77, allocations: 15.31 kB / 6.934 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001653/17.77, allocations: 177.9 kB / 6.934 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/17.77, allocations: 1.438 kB / 6.934 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01153/17.78, allocations: 2.014 MB / 6.936 GB, free: 69.54 MB / 0.5417 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.01894/17.8, allocations: 3.739 MB / 6.94 GB, free: 68.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001334/17.8, allocations: 317.1 kB / 6.94 GB, free: 68.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/17.8, allocations: 3.938 kB / 6.94 GB, free: 68.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/17.8, allocations: 105 kB / 6.94 GB, free: 68.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/17.8, allocations: 46.91 kB / 6.94 GB, free: 68.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9424/18.74, allocations: 295.1 MB / 7.228 GB, free: 20.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/18.74, allocations: 0.7579 MB / 7.229 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006427/18.74, allocations: 148.4 kB / 7.229 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/18.74, allocations: 94.22 kB / 7.229 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of SimCode: time 1.764e-06/18.74, allocations: 4 kB / 7.229 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5351/19.28, allocations: 54.16 MB / 7.282 GB, free: 66.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/19.28, allocations: 272.3 kB / 7.282 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/23.65, allocations: 0 / 7.282 GB, free: 66.62 MB / 0.5573 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