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.002189/0.002189, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 100.2 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.587e-05, allocations: 3.984 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.159/7.29, allocations: 2.76 GB / 3.264 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/7.29, allocations: 83.48 kB / 3.265 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.19/8.48, allocations: 313.1 MB / 3.57 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.466e-06/8.48, allocations: 0 / 3.57 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.339e-05/8.48, allocations: 4 kB / 3.57 GB, free: 48.28 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006195/8.486, allocations: 1.324 MB / 3.572 GB, free: 46.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/8.486, allocations: 8.031 kB / 3.572 GB, free: 46.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/8.488, allocations: 219.4 kB / 3.572 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/8.489, allocations: 333.3 kB / 3.572 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/8.489, allocations: 12 kB / 3.572 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/8.489, allocations: 16.69 kB / 3.572 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004342/8.49, allocations: 225 kB / 3.572 GB, free: 46.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/8.49, allocations: 322 kB / 3.573 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/8.49, allocations: 7.938 kB / 3.573 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/8.49, allocations: 0 / 3.573 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/8.49, allocations: 8 kB / 3.573 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/8.493, allocations: 2.344 MB / 3.575 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/8.493, allocations: 150.4 kB / 3.575 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/8.493, allocations: 62.55 kB / 3.575 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03085/8.524, allocations: 18.3 MB / 3.593 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/8.524, allocations: 38.56 kB / 3.593 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.777e-06/8.524, allocations: 0 / 3.593 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001275/8.526, allocations: 305.4 kB / 3.593 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/8.526, allocations: 102.8 kB / 3.594 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/8.526, allocations: 226.2 kB / 3.594 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/8.526, allocations: 29.64 kB / 3.594 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/8.526, allocations: 211.6 kB / 3.594 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/8.526, allocations: 55.2 kB / 3.594 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/8.526, allocations: 0 / 3.594 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/8.527, allocations: 338.8 kB / 3.594 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/8.527, allocations: 44 kB / 3.594 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/8.527, allocations: 164.7 kB / 3.595 GB, free: 20.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/8.527, allocations: 90.52 kB / 3.595 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/8.527, allocations: 0 / 3.595 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005354/8.528, allocations: 253.3 kB / 3.595 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/8.528, allocations: 4 kB / 3.595 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/8.528, allocations: 4 kB / 3.595 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/8.528, allocations: 11.94 kB / 3.595 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/8.528, allocations: 75.88 kB / 3.595 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/8.528, allocations: 11.94 kB / 3.595 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/8.528, allocations: 39.86 kB / 3.595 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/8.528, allocations: 15.98 kB / 3.595 GB, free: 20.2 MB / 0.5261 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 9.296e-05/8.528, allocations: 116.9 kB / 3.595 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003794/8.529, allocations: 163 kB / 3.595 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/8.529, allocations: 23.72 kB / 3.595 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/8.53, allocations: 1.052 MB / 3.596 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/8.53, allocations: 19.97 kB / 3.596 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/8.53, allocations: 7.938 kB / 3.596 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/8.53, allocations: 0 / 3.596 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/8.531, allocations: 0.594 MB / 3.597 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/8.531, allocations: 0 / 3.597 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/8.531, allocations: 55.94 kB / 3.597 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/8.531, allocations: 4 kB / 3.597 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/8.531, allocations: 4 kB / 3.597 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/8.531, allocations: 0 / 3.597 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/8.531, allocations: 0 / 3.597 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/8.532, allocations: 0.5514 MB / 3.598 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/8.532, allocations: 196 kB / 3.598 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/8.532, allocations: 4 kB / 3.598 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/8.532, allocations: 27.97 kB / 3.598 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/8.532, allocations: 23.97 kB / 3.598 GB, free: 17.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/8.532, allocations: 4 kB / 3.598 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002424/8.532, allocations: 279 kB / 3.598 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.532, allocations: 0 / 3.598 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004623/8.537, allocations: 0.8777 MB / 3.599 GB, free: 16.11 MB / 0.5261 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.008796/8.546, allocations: 2.373 MB / 3.601 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005981/8.546, allocations: 265.2 kB / 3.601 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/8.546, allocations: 0.9375 kB / 3.601 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/8.547, allocations: 220.7 kB / 3.602 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/8.548, allocations: 125.6 kB / 3.602 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/8.552, allocations: 1.063 MB / 3.603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/8.553, allocations: 0.8911 MB / 3.604 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004163/8.553, allocations: 160.5 kB / 3.604 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/8.553, allocations: 175.4 kB / 3.604 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of SimCode: time 1.904e-06/8.553, allocations: 0 / 3.604 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4966/9.05, allocations: 30.51 MB / 3.634 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/9.05, allocations: 188.9 kB / 3.634 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/12.24, allocations: 1.031 kB / 3.634 GB, free: 66.4 MB / 0.5261 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