Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001534/0.001534, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.704/1.704, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009834/0.0009834, allocations: 86.59 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4828/0.4828, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.251e-05/6.253e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.157, allocations: 58.84 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.429/8.586, allocations: 3.076 GB / 3.549 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/8.587, allocations: 71.53 kB / 3.549 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9147/9.502, allocations: 211.4 MB / 3.756 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.915e-06/9.502, allocations: 0 / 3.756 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.975e-05/9.502, allocations: 2.094 kB / 3.756 GB, free: 94.82 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.008253/9.51, allocations: 1.153 MB / 3.757 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.117e-05/9.51, allocations: 9.906 kB / 3.757 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/9.51, allocations: 59.53 kB / 3.757 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/9.511, allocations: 34.09 kB / 3.757 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/9.511, allocations: 225.4 kB / 3.757 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/9.511, allocations: 122.4 kB / 3.757 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/9.511, allocations: 24.09 kB / 3.757 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/9.512, allocations: 327.8 kB / 3.758 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/9.512, allocations: 3.938 kB / 3.758 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/9.512, allocations: 11.31 kB / 3.758 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/9.512, allocations: 6.094 kB / 3.758 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/9.514, allocations: 0.7252 MB / 3.758 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/9.515, allocations: 1.225 MB / 3.759 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/9.516, allocations: 160.6 kB / 3.76 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/9.516, allocations: 84.34 kB / 3.76 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003565/9.52, allocations: 3.039 MB / 3.763 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/9.52, allocations: 32.28 kB / 3.763 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/9.52, allocations: 0 / 3.763 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004295/9.52, allocations: 104.4 kB / 3.763 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/9.52, allocations: 57.22 kB / 3.763 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/9.521, allocations: 190.4 kB / 3.763 GB, free: 89.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/9.521, allocations: 26.98 kB / 3.763 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/9.521, allocations: 215.6 kB / 3.763 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/9.521, allocations: 55.61 kB / 3.763 GB, free: 89.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/9.521, allocations: 9.094 kB / 3.763 GB, free: 89.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001205/9.521, allocations: 325.5 kB / 3.764 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/9.521, allocations: 42.95 kB / 3.764 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/9.522, allocations: 327.2 kB / 3.764 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/9.522, allocations: 104.2 kB / 3.764 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/9.522, allocations: 7.297 kB / 3.764 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008776/9.523, allocations: 368.5 kB / 3.764 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/9.523, allocations: 9.094 kB / 3.764 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-05/9.523, allocations: 13.94 kB / 3.764 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.721e-05/9.523, allocations: 22.94 kB / 3.764 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/9.523, allocations: 96.52 kB / 3.765 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.904e-05/9.523, allocations: 24.33 kB / 3.765 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/9.524, allocations: 50.03 kB / 3.765 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/9.524, allocations: 28.44 kB / 3.765 GB, free: 88.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.0001237/9.524, allocations: 136.3 kB / 3.765 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/9.524, allocations: 24.86 kB / 3.765 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/9.524, allocations: 168.9 kB / 3.765 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/9.524, allocations: 2.25 kB / 3.765 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/9.524, allocations: 0 / 3.765 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/9.524, allocations: 0 / 3.765 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/9.525, allocations: 432.9 kB / 3.765 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/9.525, allocations: 2.156 kB / 3.765 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/9.525, allocations: 23.16 kB / 3.765 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/9.525, allocations: 4.469 kB / 3.765 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/9.525, allocations: 2.25 kB / 3.765 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-06/9.525, allocations: 2.344 kB / 3.765 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/9.525, allocations: 4.844 kB / 3.765 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/9.526, allocations: 258.8 kB / 3.766 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/9.526, allocations: 122.4 kB / 3.766 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/9.526, allocations: 3.875 kB / 3.766 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/9.526, allocations: 7.188 kB / 3.766 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/9.526, allocations: 11.38 kB / 3.766 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/9.526, allocations: 7.281 kB / 3.766 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001311/9.526, allocations: 144.6 kB / 3.766 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.526, allocations: 0 / 3.766 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009626/9.527, allocations: 112.8 kB / 3.766 GB, free: 87.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.001196/9.528, allocations: 1.236 MB / 3.767 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003592/9.529, allocations: 160.2 kB / 3.767 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/9.529, allocations: 3.156 kB / 3.767 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/9.529, allocations: 33.14 kB / 3.767 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/9.529, allocations: 48.05 kB / 3.768 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/9.746, allocations: 98.12 MB / 3.863 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/9.747, allocations: 0.7303 MB / 3.864 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003038/9.747, allocations: 48.75 kB / 3.864 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/9.747, allocations: 58.38 kB / 3.864 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/9.747, allocations: 0 / 3.864 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/9.771, allocations: 7.809 MB / 3.872 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/9.771, allocations: 173.9 kB / 3.872 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/12.02, allocations: 0 / 3.872 GB, free: 42.59 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat