Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001567/0.001567, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001089/0.001088, allocations: 78.66 kB / 267.5 MB, free: 14.05 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.2901/0.2901, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.56e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.305, allocations: 299.7 MB / 0.7656 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.305, allocations: 75.73 kB / 0.7657 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09056/1.396, allocations: 20.16 MB / 0.7854 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.309e-06/1.396, allocations: 3.938 kB / 0.7854 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.759e-05/1.396, allocations: 7.938 kB / 0.7854 GB, free: 106.6 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001466/1.398, allocations: 0.5554 MB / 0.7859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.398, allocations: 8.031 kB / 0.7859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/1.398, allocations: 61.16 kB / 0.786 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/1.398, allocations: 27.81 kB / 0.786 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/1.398, allocations: 229.4 kB / 0.7862 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/1.399, allocations: 118.5 kB / 0.7863 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/1.399, allocations: 23 kB / 0.7864 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/1.4, allocations: 319.7 kB / 0.7867 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.4, allocations: 4 kB / 0.7867 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/1.4, allocations: 11.17 kB / 0.7867 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/1.4, allocations: 8 kB / 0.7867 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.401, allocations: 0.7288 MB / 0.7874 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/1.403, allocations: 1.169 MB / 0.7885 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/1.404, allocations: 155.3 kB / 0.7887 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/1.404, allocations: 67.47 kB / 0.7888 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00365/1.408, allocations: 2.874 MB / 0.7916 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.408, allocations: 41.75 kB / 0.7916 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.376e-06/1.408, allocations: 3.938 kB / 0.7916 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.00107/1.409, allocations: 207.3 kB / 0.7918 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.409, allocations: 54.28 kB / 0.7919 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/1.409, allocations: 187.8 kB / 0.792 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/1.41, allocations: 33.52 kB / 0.7921 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.41, allocations: 274 kB / 0.7923 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/1.41, allocations: 56.77 kB / 0.7924 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/1.41, allocations: 10.5 kB / 0.7924 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/1.41, allocations: 329.7 kB / 0.7927 GB, free: 98.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/1.41, allocations: 43.38 kB / 0.7928 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/1.41, allocations: 306.3 kB / 0.793 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/1.411, allocations: 104.1 kB / 0.7931 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/1.411, allocations: 7.938 kB / 0.7931 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00102/1.412, allocations: 360.9 kB / 0.7935 GB, free: 98.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/1.412, allocations: 8 kB / 0.7935 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.412, allocations: 12 kB / 0.7935 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/1.412, allocations: 16.06 kB / 0.7935 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/1.413, allocations: 111 kB / 0.7936 GB, free: 97.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/1.413, allocations: 19.89 kB / 0.7937 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/1.413, allocations: 26.05 kB / 0.7937 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/1.414, allocations: 23.44 kB / 0.7937 GB, free: 97.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.414, allocations: 136.8 kB / 0.7938 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/1.414, allocations: 19.94 kB / 0.7938 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/1.415, allocations: 190.2 kB / 0.794 GB, free: 97.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.415, allocations: 4 kB / 0.794 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.415, allocations: 0 / 0.794 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/1.415, allocations: 3.953 kB / 0.794 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/1.416, allocations: 453.8 kB / 0.7945 GB, free: 97.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.416, allocations: 0 / 0.7945 GB, free: 97.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/1.416, allocations: 43.97 kB / 0.7945 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.416, allocations: 0 / 0.7945 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/1.416, allocations: 6.812 kB / 0.7945 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.416, allocations: 3.953 kB / 0.7945 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.416, allocations: 0 / 0.7945 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/1.417, allocations: 249 kB / 0.7948 GB, free: 96.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.417, allocations: 123.5 kB / 0.7949 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/1.417, allocations: 0 / 0.7949 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/1.417, allocations: 7.25 kB / 0.7949 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/1.417, allocations: 15.98 kB / 0.7949 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/1.417, allocations: 7.984 kB / 0.7949 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000191/1.418, allocations: 151.4 kB / 0.7951 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/1.418, allocations: 0 / 0.7951 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001117/1.419, allocations: 103.5 kB / 0.7952 GB, free: 96.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/1.42, allocations: 1.005 MB / 0.7961 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005733/1.42, allocations: 178.5 kB / 0.7963 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/1.42, allocations: 4 kB / 0.7963 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/1.421, allocations: 34 kB / 0.7963 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/1.421, allocations: 59.14 kB / 0.7964 GB, free: 95.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.445, allocations: 5.565 MB / 0.8018 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/1.445, allocations: 0.7337 MB / 0.8025 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/1.446, allocations: 71.84 kB / 0.8026 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.493e-06/1.446, allocations: 0 / 0.8026 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.562/4.008, allocations: 4.383 MB / 0.8069 GB, free: 85.67 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat