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.001576/0.001576, allocations: 101.6 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.81 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03104/0.1524, allocations: 30.31 MB / 0.498 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2247/0.3772, allocations: 17.67 MB / 0.5152 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.3776, allocations: 11.91 kB / 0.5152 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006376/0.3783, allocations: 185.9 kB / 0.5154 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005938/0.3789, allocations: 255.2 kB / 0.5157 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.017/0.3959, allocations: 5.365 MB / 0.5209 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.3972, allocations: 0.8365 MB / 0.5217 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.3976, allocations: 234.4 kB / 0.5219 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.4083, allocations: 5.448 MB / 0.5273 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.4088, allocations: 245.1 kB / 0.5275 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.4089, allocations: 32.52 kB / 0.5275 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.4213, allocations: 6.249 MB / 0.5336 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.4215, allocations: 95.42 kB / 0.5337 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.4218, allocations: 193.8 kB / 0.5339 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008847/0.4307, allocations: 3.872 MB / 0.5377 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4307, allocations: 0 / 0.5377 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4307, allocations: 0 / 0.5377 GB, free: 4.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.4307, allocations: 0 / 0.5377 GB, free: 4.477 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.002245/0.433, allocations: 1.044 MB / 0.5387 GB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.433, allocations: 8.781 kB / 0.5387 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.4331, allocations: 64.94 kB / 0.5388 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.4347, allocations: 208.3 kB / 0.539 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4351, allocations: 334.8 kB / 0.5393 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.4351, allocations: 22.62 kB / 0.5393 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.4351, allocations: 27 kB / 0.5393 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.4362, allocations: 489.9 kB / 0.5398 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4362, allocations: 4 kB / 0.5398 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.4363, allocations: 20.06 kB / 0.5398 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4363, allocations: 8.844 kB / 0.5398 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.4374, allocations: 404.9 kB / 0.5402 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.4397, allocations: 2.429 MB / 0.5426 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.4408, allocations: 327.5 kB / 0.5429 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.441, allocations: 111.2 kB / 0.543 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03106/0.4721, allocations: 18.3 MB / 0.5609 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.4722, allocations: 39.44 kB / 0.5609 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.4722, allocations: 0 / 0.5609 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002007/0.4742, allocations: 0.535 MB / 0.5614 GB, free: 12.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.4743, allocations: 102.8 kB / 0.5615 GB, free: 11.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.4746, allocations: 320.5 kB / 0.5618 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.4747, allocations: 33.7 kB / 0.5619 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4748, allocations: 199.6 kB / 0.5621 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.4749, allocations: 58.05 kB / 0.5621 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.475, allocations: 69.59 kB / 0.5622 GB, free: 11.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4751, allocations: 334.8 kB / 0.5625 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.4754, allocations: 95.92 kB / 0.5626 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.4757, allocations: 211.4 kB / 0.5628 GB, free: 10.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.4763, allocations: 297.4 kB / 0.5631 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4763, allocations: 0 / 0.5631 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007252/0.477, allocations: 336.8 kB / 0.5634 GB, free: 9.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4771, allocations: 8 kB / 0.5634 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4771, allocations: 4 kB / 0.5634 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4771, allocations: 11.94 kB / 0.5634 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.4774, allocations: 76.3 kB / 0.5635 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4774, allocations: 7.984 kB / 0.5635 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.4777, allocations: 47.67 kB / 0.5636 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.4777, allocations: 16 kB / 0.5636 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.0001547/0.4779, allocations: 153.8 kB / 0.5637 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.478, allocations: 28.7 kB / 0.5637 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4793, allocations: 1.129 MB / 0.5648 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.4793, allocations: 11.98 kB / 0.5649 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4793, allocations: 0 / 0.5649 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4793, allocations: 3.984 kB / 0.5649 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.48, allocations: 0.6629 MB / 0.5655 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.48, allocations: 0 / 0.5655 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.4802, allocations: 51.95 kB / 0.5656 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4802, allocations: 0 / 0.5656 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4802, allocations: 3.938 kB / 0.5656 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4802, allocations: 4 kB / 0.5656 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4803, allocations: 0 / 0.5656 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.4811, allocations: 0.6222 MB / 0.5662 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4812, allocations: 144.2 kB / 0.5663 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.4813, allocations: 27.62 kB / 0.5663 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4815, allocations: 19.98 kB / 0.5664 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.4816, allocations: 23.97 kB / 0.5664 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.4816, allocations: 8 kB / 0.5664 GB, free: 6.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003324/0.4819, allocations: 342.8 kB / 0.5667 GB, free: 6.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4819, allocations: 0 / 0.5667 GB, free: 6.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002324/0.4843, allocations: 0.8549 MB / 0.5676 GB, free: 5.566 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.005091/0.4894, allocations: 2.067 MB / 0.5696 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.4902, allocations: 365 kB / 0.5699 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4902, allocations: 3.938 kB / 0.5699 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.4905, allocations: 260.5 kB / 0.5702 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/0.4915, allocations: 186.6 kB / 0.5703 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/0.4979, allocations: 4.538 MB / 0.5748 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.4983, allocations: 0.8837 MB / 0.5756 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00038/0.4986, allocations: 181.2 kB / 0.5758 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.4989, allocations: 191.4 kB / 0.576 GB, free: 12.81 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4989, allocations: 0 / 0.576 GB, free: 12.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06259/0.5615, allocations: 40.23 MB / 0.6153 GB, free: 4.773 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.5617, allocations: 257.6 kB / 0.6155 GB, free: 4.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/4.53, allocations: 0 / 0.6155 GB, free: 4.48 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