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.001234/0.001235, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 74.8 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03107/0.1399, allocations: 30.21 MB / 0.4984 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2027/0.3427, allocations: 17.62 MB / 0.5156 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.3431, allocations: 12.03 kB / 0.5156 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.3437, allocations: 215.2 kB / 0.5158 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.3442, allocations: 272 kB / 0.5161 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.3599, allocations: 6.056 MB / 0.522 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.3609, allocations: 0.8406 MB / 0.5228 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.3612, allocations: 241.9 kB / 0.523 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.3724, allocations: 5.455 MB / 0.5284 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.3731, allocations: 239 kB / 0.5286 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.3731, allocations: 37.41 kB / 0.5286 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/0.3881, allocations: 6.192 MB / 0.5347 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.3883, allocations: 95.77 kB / 0.5348 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.3887, allocations: 193.7 kB / 0.5349 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007948/0.3966, allocations: 3.857 MB / 0.5387 GB, free: 3.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3967, allocations: 4 kB / 0.5387 GB, free: 3.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3967, allocations: 0 / 0.5387 GB, free: 3.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.3967, allocations: 0 / 0.5387 GB, free: 3.719 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.002001/0.3987, allocations: 1.039 MB / 0.5397 GB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3988, allocations: 8.5 kB / 0.5397 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.3988, allocations: 64.12 kB / 0.5398 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.4004, allocations: 206 kB / 0.54 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.4007, allocations: 339.5 kB / 0.5403 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4008, allocations: 21.69 kB / 0.5403 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.4008, allocations: 23.88 kB / 0.5404 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.4018, allocations: 490.8 kB / 0.5408 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4019, allocations: 0 / 0.5408 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.4019, allocations: 14.66 kB / 0.5408 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.4019, allocations: 10.8 kB / 0.5409 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.403, allocations: 414.8 kB / 0.5413 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.4055, allocations: 2.427 MB / 0.5436 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4066, allocations: 329.2 kB / 0.5439 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.4069, allocations: 109.5 kB / 0.544 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03381/0.4407, allocations: 18.31 MB / 0.5619 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.4408, allocations: 38.56 kB / 0.562 GB, free: 11.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.4408, allocations: 0 / 0.562 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002076/0.4429, allocations: 0.5273 MB / 0.5625 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.443, allocations: 102.8 kB / 0.5626 GB, free: 11.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.4433, allocations: 320.5 kB / 0.5629 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.4434, allocations: 37.64 kB / 0.5629 GB, free: 10.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.4435, allocations: 211.5 kB / 0.5631 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.4436, allocations: 53.64 kB / 0.5632 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.4437, allocations: 57.7 kB / 0.5632 GB, free: 10.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4438, allocations: 338.8 kB / 0.5635 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.4441, allocations: 95.92 kB / 0.5636 GB, free: 10.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.4446, allocations: 211.3 kB / 0.5638 GB, free: 9.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.4453, allocations: 301.4 kB / 0.5641 GB, free: 9.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4453, allocations: 4 kB / 0.5641 GB, free: 9.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007934/0.4461, allocations: 335.4 kB / 0.5644 GB, free: 9.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4461, allocations: 8 kB / 0.5645 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4461, allocations: 7.938 kB / 0.5645 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4461, allocations: 7.938 kB / 0.5645 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.4464, allocations: 72.36 kB / 0.5645 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4464, allocations: 11.94 kB / 0.5645 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.4467, allocations: 43.58 kB / 0.5646 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.4467, allocations: 19.98 kB / 0.5646 GB, free: 8.941 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.0001513/0.4469, allocations: 149.8 kB / 0.5648 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.447, allocations: 31.62 kB / 0.5648 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.4484, allocations: 1.117 MB / 0.5659 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.4484, allocations: 15.97 kB / 0.5659 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4484, allocations: 8 kB / 0.5659 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4484, allocations: 0 / 0.5659 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.4491, allocations: 0.661 MB / 0.5665 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4491, allocations: 0 / 0.5665 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.4493, allocations: 59.88 kB / 0.5666 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.4494, allocations: 0 / 0.5666 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4494, allocations: 11.88 kB / 0.5666 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4494, allocations: 0 / 0.5666 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4494, allocations: 0 / 0.5666 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.4503, allocations: 0.616 MB / 0.5672 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4504, allocations: 140.2 kB / 0.5673 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.4504, allocations: 23.62 kB / 0.5674 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.4507, allocations: 19.98 kB / 0.5674 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.4507, allocations: 23.91 kB / 0.5674 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4508, allocations: 4 kB / 0.5674 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.4511, allocations: 350.8 kB / 0.5677 GB, free: 5.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4511, allocations: 0 / 0.5677 GB, free: 5.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002442/0.4536, allocations: 0.8434 MB / 0.5686 GB, free: 4.789 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.005572/0.4592, allocations: 2.081 MB / 0.5706 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008648/0.46, allocations: 357 kB / 0.5709 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4601, allocations: 4 kB / 0.5709 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.4604, allocations: 260.5 kB / 0.5712 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/0.4615, allocations: 181.6 kB / 0.5714 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.4686, allocations: 4.345 MB / 0.5756 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4691, allocations: 0.8837 MB / 0.5765 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000406/0.4695, allocations: 187 kB / 0.5767 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.4698, allocations: 191.4 kB / 0.5768 GB, free: 12.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4698, allocations: 0 / 0.5768 GB, free: 12.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07282/0.5426, allocations: 40.43 MB / 0.6163 GB, free: 3.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.681, allocations: 7.812 kB / 0.6163 GB, free: 3.922 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