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.0009192/0.0009192, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002391, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03187/0.142, allocations: 30.35 MB / 0.5015 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2408/0.3828, allocations: 18.29 MB / 0.5194 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.3832, allocations: 11.38 kB / 0.5194 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.3838, allocations: 190.4 kB / 0.5196 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.3844, allocations: 253.7 kB / 0.5198 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01492/0.3993, allocations: 4.902 MB / 0.5246 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.4013, allocations: 1.114 MB / 0.5257 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.4018, allocations: 197.6 kB / 0.5259 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.4125, allocations: 5.388 MB / 0.5311 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.413, allocations: 244.8 kB / 0.5314 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.413, allocations: 12.97 kB / 0.5314 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.4245, allocations: 6.259 MB / 0.5375 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.4247, allocations: 85.61 kB / 0.5376 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.425, allocations: 197.2 kB / 0.5377 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007938/0.4329, allocations: 3.833 MB / 0.5415 GB, free: 4.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.433, allocations: 0 / 0.5415 GB, free: 4.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.433, allocations: 4 kB / 0.5415 GB, free: 4.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.433, allocations: 0 / 0.5415 GB, free: 4.633 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.002218/0.4352, allocations: 0.9779 MB / 0.5424 GB, free: 3.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4353, allocations: 15.12 kB / 0.5425 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.4354, allocations: 64.41 kB / 0.5425 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.437, allocations: 214 kB / 0.5427 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.4374, allocations: 328.3 kB / 0.543 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.4374, allocations: 26.97 kB / 0.5431 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.4374, allocations: 31.56 kB / 0.5431 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4385, allocations: 0.4996 MB / 0.5436 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4386, allocations: 2.938 kB / 0.5436 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.4386, allocations: 10.59 kB / 0.5436 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4386, allocations: 8.781 kB / 0.5436 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.4397, allocations: 436.7 kB / 0.544 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.4422, allocations: 2.451 MB / 0.5464 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.4433, allocations: 359.7 kB / 0.5468 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.4436, allocations: 120 kB / 0.5469 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/0.4773, allocations: 18.47 MB / 0.5649 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4774, allocations: 38.5 kB / 0.5649 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.4774, allocations: 0 / 0.5649 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.00213/0.4795, allocations: 0.572 MB / 0.5655 GB, free: 12.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.4796, allocations: 106.8 kB / 0.5656 GB, free: 11.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.48, allocations: 324.4 kB / 0.5659 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.48, allocations: 33.7 kB / 0.5659 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4802, allocations: 207.6 kB / 0.5661 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.4802, allocations: 47.36 kB / 0.5662 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.4803, allocations: 29.7 kB / 0.5662 GB, free: 11.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4804, allocations: 338.8 kB / 0.5665 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.4807, allocations: 103.9 kB / 0.5666 GB, free: 10.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.4811, allocations: 227.3 kB / 0.5669 GB, free: 10.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.4817, allocations: 316.1 kB / 0.5672 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4817, allocations: 0 / 0.5672 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007949/0.4825, allocations: 364.8 kB / 0.5675 GB, free: 9.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4825, allocations: 6.344 kB / 0.5675 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4826, allocations: 7.938 kB / 0.5675 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4826, allocations: 11.94 kB / 0.5675 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.4829, allocations: 76.36 kB / 0.5676 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4829, allocations: 8 kB / 0.5676 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.4832, allocations: 51.66 kB / 0.5677 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.4833, allocations: 12 kB / 0.5677 GB, free: 9.699 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.0001975/0.4835, allocations: 161.7 kB / 0.5678 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.4835, allocations: 31.62 kB / 0.5679 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.485, allocations: 1.14 MB / 0.569 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.485, allocations: 15.97 kB / 0.569 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4851, allocations: 0 / 0.569 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4851, allocations: 8 kB / 0.569 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.4858, allocations: 0.6694 MB / 0.5696 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4858, allocations: 0 / 0.5696 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.486, allocations: 51.95 kB / 0.5697 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.486, allocations: 0 / 0.5697 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4861, allocations: 19.86 kB / 0.5697 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4861, allocations: 4 kB / 0.5697 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4861, allocations: 3.672 kB / 0.5697 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.4869, allocations: 0.6394 MB / 0.5703 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.4871, allocations: 192 kB / 0.5705 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.4872, allocations: 7.938 kB / 0.5705 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4875, allocations: 35.92 kB / 0.5706 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.4875, allocations: 15.97 kB / 0.5706 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4876, allocations: 7.984 kB / 0.5706 GB, free: 6.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4879, allocations: 342.9 kB / 0.5709 GB, free: 6.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4879, allocations: 4 kB / 0.5709 GB, free: 6.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002383/0.4903, allocations: 0.8471 MB / 0.5718 GB, free: 5.43 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.005067/0.4954, allocations: 2.105 MB / 0.5738 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007831/0.4962, allocations: 376.5 kB / 0.5742 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4962, allocations: 0 / 0.5742 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.4966, allocations: 269 kB / 0.5744 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4976, allocations: 181 kB / 0.5746 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.5039, allocations: 4.619 MB / 0.5791 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.5043, allocations: 0.8759 MB / 0.58 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.5047, allocations: 181.7 kB / 0.5801 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.5049, allocations: 191.4 kB / 0.5803 GB, free: 12.53 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5049, allocations: 0 / 0.5803 GB, free: 12.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06006/0.565, allocations: 39.73 MB / 0.6191 GB, free: 4.988 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.5652, allocations: 264.1 kB / 0.6194 GB, free: 4.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/4.436, allocations: 17.94 kB / 0.6194 GB, free: 4.68 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