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.001864/0.001865, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002592/0.002592, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3603, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0343/0.3947, allocations: 30.23 MB / 0.56 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02304/0.4178, allocations: 17.64 MB / 0.5772 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.4183, allocations: 7.938 kB / 0.5773 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.4191, allocations: 218.6 kB / 0.5775 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008945/0.42, allocations: 274.3 kB / 0.5777 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.4387, allocations: 6.046 MB / 0.5836 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4401, allocations: 0.8303 MB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.4407, allocations: 248.7 kB / 0.5847 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0142/0.455, allocations: 5.462 MB / 0.59 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.4556, allocations: 243 kB / 0.5902 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.4557, allocations: 32 kB / 0.5903 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.4709, allocations: 6.33 MB / 0.5965 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.4712, allocations: 87.73 kB / 0.5965 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.4716, allocations: 191.1 kB / 0.5967 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009898/0.4815, allocations: 3.856 MB / 0.6005 GB, free: 9.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4816, allocations: 7.938 kB / 0.6005 GB, free: 9.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4816, allocations: 4 kB / 0.6005 GB, free: 9.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.4816, allocations: 0 / 0.6005 GB, free: 9.879 MB / 462.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.002889/0.4845, allocations: 1.037 MB / 0.6015 GB, free: 8.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4846, allocations: 12.03 kB / 0.6015 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.4847, allocations: 62.72 kB / 0.6016 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.4866, allocations: 208.2 kB / 0.6018 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.4872, allocations: 346.5 kB / 0.6021 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.4873, allocations: 20.94 kB / 0.6021 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.4873, allocations: 32.12 kB / 0.6022 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.4886, allocations: 490.8 kB / 0.6026 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4886, allocations: 4 kB / 0.6026 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.4887, allocations: 12 kB / 0.6026 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4887, allocations: 4 kB / 0.6026 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.4899, allocations: 413.2 kB / 0.603 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.4931, allocations: 2.419 MB / 0.6054 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4943, allocations: 334.2 kB / 0.6057 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.4946, allocations: 108.8 kB / 0.6058 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03445/0.5291, allocations: 18.38 MB / 0.6238 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.5292, allocations: 38.5 kB / 0.6238 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.325e-06/0.5292, allocations: 0 / 0.6238 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002169/0.5313, allocations: 0.5205 MB / 0.6243 GB, free: 14.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.5314, allocations: 110.8 kB / 0.6244 GB, free: 14.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.5318, allocations: 320.5 kB / 0.6247 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.5319, allocations: 29.7 kB / 0.6248 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.532, allocations: 211.6 kB / 0.625 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.5321, allocations: 43.36 kB / 0.625 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.5322, allocations: 65.59 kB / 0.6251 GB, free: 13.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5324, allocations: 342.8 kB / 0.6254 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.5327, allocations: 91.92 kB / 0.6255 GB, free: 13.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.533, allocations: 215.3 kB / 0.6257 GB, free: 13.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.5336, allocations: 296.4 kB / 0.626 GB, free: 12.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.5337, allocations: 0 / 0.626 GB, free: 12.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008568/0.5345, allocations: 340.8 kB / 0.6263 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5346, allocations: 8 kB / 0.6263 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5346, allocations: 11.92 kB / 0.6263 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.5346, allocations: 4.469 kB / 0.6263 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.5349, allocations: 75.89 kB / 0.6264 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5349, allocations: 7.984 kB / 0.6264 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.5352, allocations: 43.61 kB / 0.6264 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.5352, allocations: 19.94 kB / 0.6264 GB, free: 12.38 MB / 494.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.0001761/0.5354, allocations: 157.7 kB / 0.6266 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.5355, allocations: 31.56 kB / 0.6266 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.5369, allocations: 1.109 MB / 0.6277 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5369, allocations: 11.98 kB / 0.6277 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.537, allocations: 0 / 0.6277 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.537, allocations: 4 kB / 0.6277 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.5376, allocations: 0.6716 MB / 0.6284 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5376, allocations: 0 / 0.6284 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.5379, allocations: 55.88 kB / 0.6284 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5379, allocations: 0 / 0.6284 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5379, allocations: 7.938 kB / 0.6284 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5379, allocations: 0 / 0.6284 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5379, allocations: 0 / 0.6284 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.5388, allocations: 0.6214 MB / 0.6291 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.539, allocations: 124.4 kB / 0.6292 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.539, allocations: 27.62 kB / 0.6292 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5393, allocations: 23.97 kB / 0.6292 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.5394, allocations: 23.97 kB / 0.6292 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.5394, allocations: 8 kB / 0.6293 GB, free: 9.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003892/0.5398, allocations: 342.9 kB / 0.6296 GB, free: 9.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5398, allocations: 0 / 0.6296 GB, free: 9.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00242/0.5422, allocations: 0.851 MB / 0.6304 GB, free: 8.215 MB / 494.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.005888/0.5481, allocations: 2.073 MB / 0.6324 GB, free: 6.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.5489, allocations: 357.1 kB / 0.6328 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.549, allocations: 0 / 0.6328 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.5493, allocations: 252.5 kB / 0.633 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5505, allocations: 202.5 kB / 0.6332 GB, free: 5.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.5582, allocations: 4.265 MB / 0.6374 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.5589, allocations: 0.8759 MB / 0.6382 GB, free: 0 / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.5593, allocations: 186.7 kB / 0.6384 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.5597, allocations: 191.3 kB / 0.6386 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.5597, allocations: 0 / 0.6386 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09538/0.6551, allocations: 40.66 MB / 0.6783 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.98, allocations: 27.25 kB / 0.6783 GB, free: 7.102 MB / 0.5294 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/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