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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 67.2 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1357, allocations: 62.46 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0387/0.1744, allocations: 31.06 MB / 0.4985 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.265/0.4394, allocations: 18.59 MB / 0.5167 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/0.4401, allocations: 11.47 kB / 0.5167 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.441, allocations: 186.7 kB / 0.5168 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008066/0.4418, allocations: 263.9 kB / 0.5171 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0191/0.4609, allocations: 4.899 MB / 0.5219 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.4626, allocations: 1.118 MB / 0.523 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.463, allocations: 204.6 kB / 0.5232 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/0.4762, allocations: 5.383 MB / 0.5284 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.4769, allocations: 251.4 kB / 0.5287 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.477, allocations: 15.06 kB / 0.5287 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.4911, allocations: 6.26 MB / 0.5348 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.4913, allocations: 76.62 kB / 0.5349 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.4917, allocations: 177.5 kB / 0.535 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.5022, allocations: 3.858 MB / 0.5388 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5022, allocations: 4 kB / 0.5388 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5022, allocations: 0 / 0.5388 GB, free: 4.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.5023, allocations: 0 / 0.5388 GB, free: 4.57 MB / 382.1 MB 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.002612/0.5049, allocations: 1.042 MB / 0.5398 GB, free: 3.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5049, allocations: 10.12 kB / 0.5398 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.505, allocations: 65.12 kB / 0.5399 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.5066, allocations: 205.3 kB / 0.5401 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.507, allocations: 329.9 kB / 0.5404 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.507, allocations: 22.91 kB / 0.5404 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.5071, allocations: 27.03 kB / 0.5405 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5082, allocations: 489.2 kB / 0.5409 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5082, allocations: 6.031 kB / 0.5409 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.5083, allocations: 14.94 kB / 0.5409 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.5083, allocations: 6.562 kB / 0.5409 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.5094, allocations: 410.4 kB / 0.5413 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.512, allocations: 2.436 MB / 0.5437 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5131, allocations: 324.5 kB / 0.544 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.5134, allocations: 110.8 kB / 0.5441 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03376/0.5472, allocations: 18.31 MB / 0.562 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.5474, allocations: 38.56 kB / 0.562 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.5474, allocations: 0 / 0.562 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.5495, allocations: 0.5321 MB / 0.5626 GB, free: 12.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.5496, allocations: 102.8 kB / 0.5627 GB, free: 11.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.55, allocations: 324.4 kB / 0.563 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.55, allocations: 33.7 kB / 0.563 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.5502, allocations: 203.6 kB / 0.5632 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.5502, allocations: 50.41 kB / 0.5632 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5504, allocations: 65.61 kB / 0.5633 GB, free: 11.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5505, allocations: 338.8 kB / 0.5636 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.5508, allocations: 99.86 kB / 0.5637 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.5512, allocations: 215.3 kB / 0.5639 GB, free: 10.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.5518, allocations: 298.9 kB / 0.5642 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5518, allocations: 4 kB / 0.5642 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007635/0.5526, allocations: 328.9 kB / 0.5645 GB, free: 9.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5526, allocations: 11.94 kB / 0.5645 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5526, allocations: 4 kB / 0.5645 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5527, allocations: 7.938 kB / 0.5646 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.5529, allocations: 72.36 kB / 0.5646 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.553, allocations: 4 kB / 0.5646 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.5533, allocations: 59.5 kB / 0.5647 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.5533, allocations: 16 kB / 0.5647 GB, free: 9.734 MB / 414.1 MB 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_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.5535, allocations: 153.7 kB / 0.5648 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.5536, allocations: 32.69 kB / 0.5649 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.555, allocations: 1.117 MB / 0.566 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.5551, allocations: 15.97 kB / 0.566 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5551, allocations: 0 / 0.566 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5551, allocations: 0 / 0.566 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.5558, allocations: 0.6664 MB / 0.5666 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5558, allocations: 0 / 0.5666 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.556, allocations: 47.95 kB / 0.5667 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5561, allocations: 0 / 0.5667 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.5561, allocations: 11.92 kB / 0.5667 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5561, allocations: 4 kB / 0.5667 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5561, allocations: 0 / 0.5667 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009198/0.557, allocations: 0.6199 MB / 0.5673 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.5572, allocations: 124.9 kB / 0.5674 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.5572, allocations: 31.62 kB / 0.5675 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.5575, allocations: 23.97 kB / 0.5675 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.5576, allocations: 19.97 kB / 0.5675 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.5576, allocations: 15.94 kB / 0.5675 GB, free: 6.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004123/0.558, allocations: 338.9 kB / 0.5678 GB, free: 6.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.558, allocations: 0 / 0.5678 GB, free: 6.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002997/0.561, allocations: 0.851 MB / 0.5687 GB, free: 5.586 MB / 414.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005649/0.5667, allocations: 2.081 MB / 0.5707 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.5676, allocations: 357 kB / 0.571 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.5676, allocations: 3.984 kB / 0.571 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.5681, allocations: 252.5 kB / 0.5713 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5692, allocations: 180.8 kB / 0.5715 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.5759, allocations: 4.528 MB / 0.5759 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.5764, allocations: 0.8837 MB / 0.5767 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004177/0.5768, allocations: 185.4 kB / 0.5769 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.577, allocations: 187.4 kB / 0.5771 GB, free: 12.84 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.577, allocations: 0 / 0.5771 GB, free: 12.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06522/0.6423, allocations: 39.91 MB / 0.6161 GB, free: 5.094 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.6425, allocations: 256.8 kB / 0.6163 GB, free: 4.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/4.626, allocations: 0 / 0.6163 GB, free: 4.805 MB / 462.1 MB (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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches