Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 196.8 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.297/1.297, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009116/0.0009116, allocations: 90.69 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.2026/0.2026, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.183e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.242/6.365, allocations: 2.761 GB / 3.272 GB, free: 98.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/6.366, allocations: 83.95 kB / 3.272 GB, free: 97.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8918/7.258, allocations: 316.9 MB / 3.582 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/7.258, allocations: 0 / 3.582 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.93e-05/7.258, allocations: 11.92 kB / 3.582 GB, free: 3.852 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003949/7.262, allocations: 1.324 MB / 3.583 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/7.262, allocations: 8.031 kB / 3.583 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/7.262, allocations: 62.53 kB / 3.583 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/7.263, allocations: 211.4 kB / 3.583 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/7.264, allocations: 345.2 kB / 3.584 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/7.264, allocations: 24.56 kB / 3.584 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/7.264, allocations: 28.69 kB / 3.584 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/7.265, allocations: 486.9 kB / 3.584 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/7.265, allocations: 3.984 kB / 3.584 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/7.265, allocations: 12 kB / 3.584 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/7.265, allocations: 8 kB / 3.584 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/7.265, allocations: 381.3 kB / 3.585 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3078/7.573, allocations: 2.39 MB / 3.587 GB, free: 91.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008663/7.574, allocations: 292.1 kB / 3.587 GB, free: 91.55 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/7.574, allocations: 62.98 kB / 3.587 GB, free: 91.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02932/7.604, allocations: 18.3 MB / 3.605 GB, free: 79.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/7.604, allocations: 35.53 kB / 3.605 GB, free: 79.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/7.604, allocations: 0 / 3.605 GB, free: 79.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.001718/7.605, allocations: 428 kB / 3.606 GB, free: 79.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/7.605, allocations: 106.1 kB / 3.606 GB, free: 79.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/7.606, allocations: 290 kB / 3.606 GB, free: 79.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/7.606, allocations: 26.83 kB / 3.606 GB, free: 79.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/7.606, allocations: 209.3 kB / 3.606 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/7.606, allocations: 53.39 kB / 3.606 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/7.606, allocations: 5.812 kB / 3.606 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/7.606, allocations: 346.7 kB / 3.606 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/7.607, allocations: 53.81 kB / 3.607 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/7.607, allocations: 176.9 kB / 3.607 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/7.607, allocations: 73.53 kB / 3.607 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/7.607, allocations: 1.062 kB / 3.607 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004787/7.607, allocations: 266.6 kB / 3.607 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/7.607, allocations: 6.875 kB / 3.607 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/7.607, allocations: 7.844 kB / 3.607 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/7.607, allocations: 5.641 kB / 3.607 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/7.608, allocations: 74.28 kB / 3.607 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/7.608, allocations: 10.34 kB / 3.607 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/7.608, allocations: 51.05 kB / 3.607 GB, free: 78.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/7.608, allocations: 20.19 kB / 3.607 GB, free: 78.56 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * 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 8.412e-05/7.608, allocations: 123 kB / 3.607 GB, free: 78.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/7.608, allocations: 33.34 kB / 3.607 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/7.61, allocations: 1.057 MB / 3.608 GB, free: 78.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/7.61, allocations: 14.33 kB / 3.608 GB, free: 78.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/7.61, allocations: 4.75 kB / 3.608 GB, free: 78.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/7.61, allocations: 5.266 kB / 3.608 GB, free: 78.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/7.61, allocations: 0.6556 MB / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/7.61, allocations: 0.5156 kB / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/7.611, allocations: 61.48 kB / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/7.611, allocations: 1.531 kB / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/7.611, allocations: 10.86 kB / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/7.611, allocations: 0.9688 kB / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/7.611, allocations: 0 / 3.609 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/7.611, allocations: 0.5575 MB / 3.61 GB, free: 77.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/7.612, allocations: 199.6 kB / 3.61 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/7.612, allocations: 6.297 kB / 3.61 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/7.612, allocations: 23.31 kB / 3.61 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/7.612, allocations: 30.12 kB / 3.61 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/7.612, allocations: 9.906 kB / 3.61 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003938/7.612, allocations: 334.9 kB / 3.61 GB, free: 77.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.052e-06/7.612, allocations: 0 / 3.61 GB, free: 77.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003865/7.616, allocations: 0.8901 MB / 3.611 GB, free: 77.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007423/7.624, allocations: 2.302 MB / 3.613 GB, free: 76.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005253/7.624, allocations: 277.1 kB / 3.614 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/7.624, allocations: 0 / 3.614 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/7.625, allocations: 222.3 kB / 3.614 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/7.626, allocations: 174.9 kB / 3.614 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/7.629, allocations: 1.085 MB / 3.615 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/7.629, allocations: 0.8906 MB / 3.616 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004151/7.63, allocations: 162.1 kB / 3.616 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/7.63, allocations: 183.3 kB / 3.616 GB, free: 75.95 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/7.63, allocations: 0 / 3.616 GB, free: 75.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06052/7.691, allocations: 37.42 MB / 3.653 GB, free: 75.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/7.691, allocations: 211.2 kB / 3.653 GB, free: 75.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/10.55, allocations: 3.375 kB / 3.653 GB, free: 75.19 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat