Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 13.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.17 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 62.3 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03603/0.1419, allocations: 30.92 MB / 499.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2593/0.4013, allocations: 18.58 MB / 0.506 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.4018, allocations: 9.938 kB / 0.506 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007611/0.4026, allocations: 188.9 kB / 0.5062 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007507/0.4034, allocations: 258.7 kB / 0.5064 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.418, allocations: 4.888 MB / 0.5112 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.4194, allocations: 1.109 MB / 0.5123 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.4199, allocations: 203.6 kB / 0.5125 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.4331, allocations: 5.377 MB / 0.5177 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000603/0.4337, allocations: 248.5 kB / 0.518 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.862e-05/0.4338, allocations: 15.41 kB / 0.518 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.4463, allocations: 6.253 MB / 0.5241 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.4465, allocations: 75.23 kB / 0.5242 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.4468, allocations: 179.6 kB / 0.5243 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.4544, allocations: 3.839 MB / 0.5281 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4545, allocations: 0 / 0.5281 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4545, allocations: 0 / 0.5281 GB, free: 7.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4545, allocations: 2.375 kB / 0.5281 GB, free: 7.738 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.002794/0.4573, allocations: 1.038 MB / 0.5291 GB, free: 7.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4573, allocations: 17.58 kB / 0.5291 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.327e-05/0.4574, allocations: 59.2 kB / 0.5292 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.4592, allocations: 193.2 kB / 0.5293 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.4597, allocations: 345.8 kB / 0.5297 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.4597, allocations: 19.59 kB / 0.5297 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.4598, allocations: 29.5 kB / 0.5297 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.461, allocations: 496 kB / 0.5302 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4611, allocations: 0 / 0.5302 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.4611, allocations: 13.84 kB / 0.5302 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4611, allocations: 8.031 kB / 0.5302 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4623, allocations: 408.2 kB / 0.5306 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.465, allocations: 2.432 MB / 0.533 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4662, allocations: 325.3 kB / 0.5333 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.4664, allocations: 113.5 kB / 0.5334 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03128/0.4977, allocations: 16.46 MB / 0.5495 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.4978, allocations: 33.69 kB / 0.5495 GB, free: 5.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.4978, allocations: 0 / 0.5495 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002205/0.5, allocations: 0.5343 MB / 0.55 GB, free: 4.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.5001, allocations: 102.8 kB / 0.5501 GB, free: 4.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.5005, allocations: 316.4 kB / 0.5504 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.5006, allocations: 27.64 kB / 0.5505 GB, free: 4.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.5007, allocations: 215.6 kB / 0.5507 GB, free: 3.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.5008, allocations: 54.58 kB / 0.5507 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5009, allocations: 59.75 kB / 0.5508 GB, free: 3.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.501, allocations: 338.8 kB / 0.5511 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.5013, allocations: 95.77 kB / 0.5512 GB, free: 3.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.5017, allocations: 215.9 kB / 0.5514 GB, free: 3.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.5024, allocations: 291.9 kB / 0.5517 GB, free: 2.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5024, allocations: 0 / 0.5517 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008185/0.5032, allocations: 340.7 kB / 0.552 GB, free: 2.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5032, allocations: 8 kB / 0.552 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5032, allocations: 4 kB / 0.552 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5033, allocations: 11.94 kB / 0.552 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.5036, allocations: 73.77 kB / 0.5521 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.5036, allocations: 11.98 kB / 0.5521 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.5039, allocations: 43.67 kB / 0.5521 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.5039, allocations: 15 kB / 0.5522 GB, free: 2.406 MB / 398.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.0001956/0.5041, allocations: 152.9 kB / 0.5523 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.5042, allocations: 35.62 kB / 0.5523 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.5058, allocations: 1.112 MB / 0.5534 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.5058, allocations: 15.98 kB / 0.5534 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5058, allocations: 0 / 0.5534 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5058, allocations: 3.984 kB / 0.5534 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.5066, allocations: 0.6632 MB / 0.5541 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5066, allocations: 0 / 0.5541 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5068, allocations: 43.95 kB / 0.5541 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5068, allocations: 0 / 0.5541 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.5068, allocations: 11.94 kB / 0.5541 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5069, allocations: 3.094 kB / 0.5541 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5069, allocations: 0 / 0.5541 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009134/0.5078, allocations: 0.6231 MB / 0.5547 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5079, allocations: 140.3 kB / 0.5549 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.508, allocations: 27.62 kB / 0.5549 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5083, allocations: 27.89 kB / 0.5549 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.5083, allocations: 23.91 kB / 0.555 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.5084, allocations: 11.98 kB / 0.555 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.5087, allocations: 338.9 kB / 0.5553 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5088, allocations: 0 / 0.5553 GB, free: 15.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002491/0.5113, allocations: 0.8433 MB / 0.5561 GB, free: 14.26 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.006041/0.5173, allocations: 2.073 MB / 0.5581 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.5182, allocations: 355.8 kB / 0.5585 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5182, allocations: 4 kB / 0.5585 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.5186, allocations: 251.6 kB / 0.5587 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5198, allocations: 181.2 kB / 0.5589 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.5271, allocations: 4.527 MB / 0.5633 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.5275, allocations: 0.8719 MB / 0.5642 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.5279, allocations: 190.9 kB / 0.5643 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.5282, allocations: 191.4 kB / 0.5645 GB, free: 5.598 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5282, allocations: 0 / 0.5645 GB, free: 5.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0629/0.5911, allocations: 39.78 MB / 0.6034 GB, free: 14.06 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.5914, allocations: 264.8 kB / 0.6036 GB, free: 13.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/4.464, allocations: 0 / 0.6036 GB, free: 13.71 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches