Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001639/0.001639, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.2 MB / 245 MB, free: 7.672 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009736/0.0009732, allocations: 99.61 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4394/0.4394, allocations: 45.24 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002802, allocations: 4.219 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4488, allocations: 63.25 MB / 0.5193 GB, free: 43.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.672/8.121, allocations: 3.084 GB / 3.604 GB, free: 123 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/8.122, allocations: 78.48 kB / 3.604 GB, free: 123 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9476/9.069, allocations: 213.5 MB / 3.812 GB, free: 90.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.685e-06/9.069, allocations: 4 kB / 3.812 GB, free: 90.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.031e-05/9.069, allocations: 3.906 kB / 3.812 GB, free: 90.19 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.007413/9.077, allocations: 1.171 MB / 3.813 GB, free: 89.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.222e-05/9.077, allocations: 10.94 kB / 3.813 GB, free: 89.42 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/9.077, allocations: 61.92 kB / 3.813 GB, free: 89.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/9.077, allocations: 23.47 kB / 3.813 GB, free: 89.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/9.078, allocations: 231.5 kB / 3.814 GB, free: 89.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/9.078, allocations: 123.3 kB / 3.814 GB, free: 89 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/9.078, allocations: 27.81 kB / 3.814 GB, free: 88.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/9.079, allocations: 313.7 kB / 3.814 GB, free: 88.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/9.079, allocations: 11.84 kB / 3.814 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/9.079, allocations: 7.562 kB / 3.814 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/9.079, allocations: 11.45 kB / 3.814 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/9.08, allocations: 0.731 MB / 3.815 GB, free: 88.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/9.082, allocations: 1.23 MB / 3.816 GB, free: 87.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/9.082, allocations: 156.4 kB / 3.816 GB, free: 87.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003165/9.085, allocations: 2.783 MB / 3.819 GB, free: 84.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/9.085, allocations: 38.44 kB / 3.819 GB, free: 84.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/9.085, allocations: 0 / 3.819 GB, free: 84.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0004136/9.086, allocations: 126.1 kB / 3.819 GB, free: 84.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/9.086, allocations: 51.41 kB / 3.819 GB, free: 84.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/9.086, allocations: 202.1 kB / 3.819 GB, free: 84.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/9.086, allocations: 25.7 kB / 3.819 GB, free: 84.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/9.086, allocations: 217.9 kB / 3.819 GB, free: 84.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/9.086, allocations: 46.97 kB / 3.819 GB, free: 84.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/9.086, allocations: 7.969 kB / 3.819 GB, free: 84.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001621/9.086, allocations: 326.5 kB / 3.82 GB, free: 83.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/9.087, allocations: 47.47 kB / 3.82 GB, free: 83.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/9.087, allocations: 324.7 kB / 3.82 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/9.087, allocations: 109.6 kB / 3.82 GB, free: 83.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/9.087, allocations: 3.875 kB / 3.82 GB, free: 83.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006413/9.088, allocations: 377 kB / 3.821 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/9.088, allocations: 7.812 kB / 3.821 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/9.088, allocations: 9.281 kB / 3.821 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/9.088, allocations: 18.66 kB / 3.821 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/9.088, allocations: 97.47 kB / 3.821 GB, free: 83.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/9.088, allocations: 22.98 kB / 3.821 GB, free: 83.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/9.089, allocations: 54.62 kB / 3.821 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/9.089, allocations: 30.66 kB / 3.821 GB, free: 83.12 MB / 0.5417 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 () * Number of clocked 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.0001735/9.089, allocations: 157 kB / 3.821 GB, free: 82.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/9.089, allocations: 19.7 kB / 3.821 GB, free: 82.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/9.089, allocations: 172.6 kB / 3.821 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/9.089, allocations: 3.656 kB / 3.821 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/9.089, allocations: 0 / 3.821 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/9.089, allocations: 0 / 3.821 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/9.09, allocations: 430.4 kB / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/9.09, allocations: 3.969 kB / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/9.09, allocations: 11.88 kB / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/9.09, allocations: 3.703 kB / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/9.09, allocations: 7.906 kB / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/9.09, allocations: 0 / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/9.09, allocations: 7.781 kB / 3.822 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/9.09, allocations: 263.4 kB / 3.822 GB, free: 82.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/9.091, allocations: 114.1 kB / 3.822 GB, free: 82.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/9.091, allocations: 11.48 kB / 3.822 GB, free: 82.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/9.091, allocations: 3.25 kB / 3.822 GB, free: 82.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/9.091, allocations: 11.45 kB / 3.822 GB, free: 82.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/9.091, allocations: 7.719 kB / 3.822 GB, free: 82.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001381/9.091, allocations: 148.4 kB / 3.822 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/9.091, allocations: 0 / 3.822 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008693/9.092, allocations: 122.8 kB / 3.822 GB, free: 81.94 MB / 0.5417 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 () * Number of clocked 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.001122/9.093, allocations: 1.236 MB / 3.824 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003732/9.093, allocations: 171.8 kB / 3.824 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/9.093, allocations: 4.062 kB / 3.824 GB, free: 80.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/9.093, allocations: 26.17 kB / 3.824 GB, free: 80.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/9.094, allocations: 37.98 kB / 3.824 GB, free: 80.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/9.318, allocations: 107 MB / 3.928 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/9.319, allocations: 0.7326 MB / 3.929 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003225/9.319, allocations: 58.06 kB / 3.929 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/9.319, allocations: 59.41 kB / 3.929 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/9.319, allocations: 4 kB / 3.929 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/9.344, allocations: 7.249 MB / 3.936 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/9.344, allocations: 203.3 kB / 3.936 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/11.67, allocations: 0 / 3.936 GB, free: 4.871 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat