Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001287/0.001287, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001207/0.001207, allocations: 194.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1958/0.1958, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 73.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03265/0.1487, allocations: 30.08 MB / 0.5179 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2419/0.3907, allocations: 17.59 MB / 0.5351 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.391, allocations: 8.75 kB / 0.5351 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.3917, allocations: 220.5 kB / 0.5353 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.3922, allocations: 269 kB / 0.5356 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.4068, allocations: 6.026 MB / 0.5415 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.4081, allocations: 0.8332 MB / 0.5423 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.4085, allocations: 242.4 kB / 0.5425 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.4191, allocations: 5.449 MB / 0.5478 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.4197, allocations: 249 kB / 0.5481 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.4197, allocations: 30.25 kB / 0.5481 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/0.4325, allocations: 6.31 MB / 0.5543 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.4327, allocations: 88.42 kB / 0.5543 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.4331, allocations: 193 kB / 0.5545 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008487/0.4416, allocations: 3.842 MB / 0.5583 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4416, allocations: 0 / 0.5583 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4416, allocations: 1.125 kB / 0.5583 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4416, allocations: 0 / 0.5583 GB, free: 0.5586 MB / 414.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.002233/0.4439, allocations: 1.04 MB / 0.5593 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4439, allocations: 9.062 kB / 0.5593 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.4455, allocations: 194.2 kB / 0.5595 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.446, allocations: 352.3 kB / 0.5598 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.446, allocations: 29.81 kB / 0.5598 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.4461, allocations: 22.66 kB / 0.5599 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4473, allocations: 489.6 kB / 0.5603 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4473, allocations: 1.406 kB / 0.5603 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.4474, allocations: 18.39 kB / 0.5604 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4474, allocations: 7.094 kB / 0.5604 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4485, allocations: 408.9 kB / 0.5608 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.4514, allocations: 2.416 MB / 0.5631 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4525, allocations: 327.3 kB / 0.5634 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.4528, allocations: 112.2 kB / 0.5635 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03102/0.4838, allocations: 16.52 MB / 0.5797 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4839, allocations: 40.69 kB / 0.5797 GB, free: 15.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.324e-06/0.4839, allocations: 0 / 0.5797 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002034/0.486, allocations: 0.5237 MB / 0.5802 GB, free: 15.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.486, allocations: 106.8 kB / 0.5803 GB, free: 15.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.4864, allocations: 318.5 kB / 0.5806 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.4865, allocations: 29.7 kB / 0.5807 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4866, allocations: 207.6 kB / 0.5808 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.4867, allocations: 54.28 kB / 0.5809 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/0.4868, allocations: 69.59 kB / 0.581 GB, free: 14.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4869, allocations: 338.8 kB / 0.5813 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.4872, allocations: 91.92 kB / 0.5814 GB, free: 14.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.4876, allocations: 219.1 kB / 0.5816 GB, free: 13.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.4882, allocations: 293 kB / 0.5819 GB, free: 13.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4882, allocations: 0 / 0.5819 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007722/0.489, allocations: 344.9 kB / 0.5822 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.489, allocations: 10.66 kB / 0.5822 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.489, allocations: 4 kB / 0.5822 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.489, allocations: 4 kB / 0.5822 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.4893, allocations: 75.45 kB / 0.5823 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4893, allocations: 15 kB / 0.5823 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.4896, allocations: 39.67 kB / 0.5823 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.4897, allocations: 19.98 kB / 0.5824 GB, free: 13.18 MB / 446.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.000163/0.4898, allocations: 152.8 kB / 0.5825 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.4899, allocations: 35.61 kB / 0.5825 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.4913, allocations: 1.098 MB / 0.5836 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4913, allocations: 7.922 kB / 0.5836 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4913, allocations: 0 / 0.5836 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4915, allocations: 128.4 kB / 0.5837 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.4916, allocations: 19.75 kB / 0.5838 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4918, allocations: 35.95 kB / 0.5838 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.4919, allocations: 19.97 kB / 0.5838 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008759/0.4928, allocations: 0.594 MB / 0.5844 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008835/0.4937, allocations: 0.6928 MB / 0.5851 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003647/0.4941, allocations: 248.5 kB / 0.5853 GB, free: 10.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003753/0.4945, allocations: 338.9 kB / 0.5856 GB, free: 9.789 MB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.4945, allocations: 3.938 kB / 0.5856 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00701/0.5015, allocations: 1.39 MB / 0.587 GB, free: 8.52 MB / 446.1 MB Notification: Performance of SimCode: time 0.001826/0.5033, allocations: 1.375 MB / 0.5883 GB, free: 7.109 MB / 446.1 MB Notification: Performance of Templates: time 0.05485/0.5582, allocations: 38.8 MB / 0.6262 GB, free: 360 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches