Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008306/0.0008307, allocations: 83.27 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.711e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.09021, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8315/0.9218, allocations: 379.1 MB / 0.8817 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.9221, allocations: 75.39 kB / 0.8818 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04149/0.9636, allocations: 19.39 MB / 0.9007 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9636, allocations: 0 / 0.9007 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.9636, allocations: 4 kB / 0.9007 GB, free: 46.54 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008939/0.9645, allocations: 0.5628 MB / 0.9013 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9646, allocations: 15.97 kB / 0.9013 GB, free: 45.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.9647, allocations: 60.36 kB / 0.9013 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.9648, allocations: 27.73 kB / 0.9014 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.965, allocations: 232.2 kB / 0.9016 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.9651, allocations: 121.8 kB / 0.9017 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.9652, allocations: 23 kB / 0.9017 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.9656, allocations: 314.2 kB / 0.902 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9656, allocations: 3.938 kB / 0.902 GB, free: 45.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.9656, allocations: 10.75 kB / 0.902 GB, free: 45.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.9656, allocations: 4 kB / 0.902 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.9662, allocations: 0.7272 MB / 0.9027 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.9672, allocations: 1.233 MB / 0.9039 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.9675, allocations: 159.3 kB / 0.9041 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.9676, allocations: 82.44 kB / 0.9042 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/0.9695, allocations: 3.012 MB / 0.9071 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.9695, allocations: 34.56 kB / 0.9071 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.9695, allocations: 0 / 0.9071 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0002333/0.9698, allocations: 108.2 kB / 0.9073 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.9698, allocations: 51.41 kB / 0.9073 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.9699, allocations: 198.4 kB / 0.9075 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.97, allocations: 32.89 kB / 0.9075 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.97, allocations: 213.8 kB / 0.9077 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.9701, allocations: 50.03 kB / 0.9078 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.9701, allocations: 15.23 kB / 0.9078 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.9701, allocations: 326.3 kB / 0.9081 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.9702, allocations: 43.8 kB / 0.9081 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.9703, allocations: 326.1 kB / 0.9084 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.9705, allocations: 99.44 kB / 0.9085 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9705, allocations: 4 kB / 0.9085 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004448/0.9709, allocations: 369.2 kB / 0.9089 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.971, allocations: 12 kB / 0.9089 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.971, allocations: 8 kB / 0.9089 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.971, allocations: 24 kB / 0.9089 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.9712, allocations: 99.28 kB / 0.909 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.9713, allocations: 23.92 kB / 0.9091 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.9715, allocations: 51.06 kB / 0.9091 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.9715, allocations: 27.19 kB / 0.9091 GB, free: 37.7 MB / 0.5261 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 6.777e-05/0.9716, allocations: 134.9 kB / 0.9093 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.9716, allocations: 23.75 kB / 0.9093 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.9719, allocations: 167.3 kB / 0.9094 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.9719, allocations: 4 kB / 0.9094 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9719, allocations: 3.953 kB / 0.9095 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.972, allocations: 0 / 0.9095 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.9723, allocations: 424.2 kB / 0.9099 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9723, allocations: 8.219 kB / 0.9099 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.9724, allocations: 19.92 kB / 0.9099 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.9724, allocations: 7.938 kB / 0.9099 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.9724, allocations: 7.625 kB / 0.9099 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9724, allocations: 0 / 0.9099 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9724, allocations: 4 kB / 0.9099 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.9726, allocations: 264.1 kB / 0.9102 GB, free: 36.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.9726, allocations: 108.1 kB / 0.9103 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.9727, allocations: 4 kB / 0.9103 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.9728, allocations: 12.05 kB / 0.9103 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.9729, allocations: 15.58 kB / 0.9103 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.9729, allocations: 4 kB / 0.9103 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.44e-05/0.973, allocations: 146.9 kB / 0.9104 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.973, allocations: 0 / 0.9104 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004427/0.9734, allocations: 106.3 kB / 0.9105 GB, free: 36.23 MB / 0.5261 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.0004393/0.9739, allocations: 1.118 MB / 0.9116 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.9741, allocations: 166.6 kB / 0.9118 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9741, allocations: 0 / 0.9118 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.9742, allocations: 31.56 kB / 0.9118 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9745, allocations: 38.97 kB / 0.9119 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.9849, allocations: 5.053 MB / 0.9168 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.985, allocations: 0.7326 MB / 0.9175 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.9853, allocations: 45.92 kB / 0.9175 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.9854, allocations: 61.72 kB / 0.9176 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of SimCode: time 9.11e-07/0.9854, allocations: 0 / 0.9176 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/1.001, allocations: 4.694 MB / 0.9222 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.001, allocations: 167.8 kB / 0.9223 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.774, allocations: 0 / 0.9223 GB, free: 25.2 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat