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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107.8 kB / 18.45 MB, free: 4.637 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.001126/0.001126, allocations: 182.1 kB / 19.38 MB, free: 3.715 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.359/1.359, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2057/0.2057, allocations: 44.2 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3546, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02892/0.3835, allocations: 30.08 MB / 0.5489 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01887/0.4024, allocations: 17.6 MB / 0.5661 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.4029, allocations: 15.94 kB / 0.5661 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.4036, allocations: 218.5 kB / 0.5664 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006212/0.4043, allocations: 266.4 kB / 0.5666 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01601/0.4203, allocations: 6.046 MB / 0.5725 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.4215, allocations: 0.8381 MB / 0.5733 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.4221, allocations: 244.7 kB / 0.5736 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/0.4337, allocations: 5.463 MB / 0.5789 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.4344, allocations: 247 kB / 0.5791 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.4345, allocations: 32 kB / 0.5792 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.448, allocations: 6.302 MB / 0.5853 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.4483, allocations: 95.66 kB / 0.5854 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.4487, allocations: 195.1 kB / 0.5856 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.462, allocations: 3.839 MB / 0.5893 GB, free: 4.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4621, allocations: 4 kB / 0.5894 GB, free: 4.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4621, allocations: 4 kB / 0.5894 GB, free: 4.359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4621, allocations: 3.938 kB / 0.5894 GB, free: 4.355 MB / 446.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.00368/0.4658, allocations: 1.065 MB / 0.5904 GB, free: 3.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4659, allocations: 11.97 kB / 0.5904 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/0.4688, allocations: 196.5 kB / 0.5906 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.4696, allocations: 350.7 kB / 0.5909 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.4697, allocations: 24.94 kB / 0.591 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.4697, allocations: 28.36 kB / 0.591 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.4717, allocations: 490.8 kB / 0.5915 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4718, allocations: 0 / 0.5915 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.4718, allocations: 12 kB / 0.5915 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4719, allocations: 8 kB / 0.5915 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.4739, allocations: 413.2 kB / 0.5919 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.4782, allocations: 2.423 MB / 0.5942 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.48, allocations: 334.2 kB / 0.5945 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.4805, allocations: 112.8 kB / 0.5947 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0494/0.5299, allocations: 16.53 MB / 0.6108 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.53, allocations: 42.56 kB / 0.6108 GB, free: 12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.136e-06/0.53, allocations: 0 / 0.6108 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.003295/0.5333, allocations: 0.5276 MB / 0.6114 GB, free: 11.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.5334, allocations: 106.8 kB / 0.6115 GB, free: 11.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.534, allocations: 320.4 kB / 0.6118 GB, free: 11.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.534, allocations: 33.7 kB / 0.6118 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.5342, allocations: 208 kB / 0.612 GB, free: 10.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.5343, allocations: 55.53 kB / 0.612 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.5345, allocations: 69.59 kB / 0.6121 GB, free: 10.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5347, allocations: 338.8 kB / 0.6124 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.5351, allocations: 95.92 kB / 0.6125 GB, free: 10.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.5357, allocations: 203.4 kB / 0.6127 GB, free: 9.945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.5367, allocations: 301.4 kB / 0.613 GB, free: 9.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.5367, allocations: 0 / 0.613 GB, free: 9.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001296/0.538, allocations: 337 kB / 0.6133 GB, free: 9.266 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.538, allocations: 8 kB / 0.6133 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5381, allocations: 4 kB / 0.6133 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/0.5381, allocations: 7.938 kB / 0.6133 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.5384, allocations: 72.36 kB / 0.6134 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5385, allocations: 7.938 kB / 0.6134 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.5388, allocations: 51.72 kB / 0.6135 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.5388, allocations: 11.98 kB / 0.6135 GB, free: 9.105 MB / 478.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.0002455/0.5391, allocations: 157.7 kB / 0.6136 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5392, allocations: 31.81 kB / 0.6137 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.5415, allocations: 1.098 MB / 0.6147 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5415, allocations: 7.938 kB / 0.6147 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5416, allocations: 0 / 0.6147 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5417, allocations: 140.6 kB / 0.6149 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.5418, allocations: 31.72 kB / 0.6149 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.5421, allocations: 31.95 kB / 0.6149 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5422, allocations: 19.98 kB / 0.615 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001432/0.5436, allocations: 0.596 MB / 0.6155 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001404/0.545, allocations: 0.6931 MB / 0.6162 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004046/0.5455, allocations: 244.5 kB / 0.6164 GB, free: 6.008 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005341/0.546, allocations: 342.9 kB / 0.6168 GB, free: 5.672 MB / 478.1 MB Notification: Performance of Backend: time 7.61e-07/0.546, allocations: 0 / 0.6168 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00796/0.554, allocations: 1.392 MB / 0.6181 GB, free: 4.285 MB / 478.1 MB Notification: Performance of SimCode: time 0.002476/0.5565, allocations: 1.403 MB / 0.6195 GB, free: 2.84 MB / 478.1 MB Notification: Performance of Templates: time 0.06564/0.6221, allocations: 38.64 MB / 0.6572 GB, free: 12.23 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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