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.001114/0.001114, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001079/0.001079, allocations: 194 kB / 18.12 MB, free: 5.363 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.384/1.384, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.2209/0.2209, allocations: 44.17 MB / 336.1 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 72.02 kB / 407.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1555, allocations: 60.82 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03375/0.1893, allocations: 30.92 MB / 499.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3181/0.5074, allocations: 18.58 MB / 0.5059 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.5081, allocations: 11.19 kB / 0.5059 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.5091, allocations: 189.6 kB / 0.5061 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5102, allocations: 260.1 kB / 0.5063 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02326/0.5335, allocations: 4.877 MB / 0.5111 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.5358, allocations: 1.119 MB / 0.5122 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007192/0.5365, allocations: 200.2 kB / 0.5124 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01851/0.555, allocations: 5.377 MB / 0.5176 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008513/0.5559, allocations: 247.1 kB / 0.5178 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.5561, allocations: 16.22 kB / 0.5179 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.5702, allocations: 6.251 MB / 0.524 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.5705, allocations: 79.89 kB / 0.524 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.571, allocations: 183.6 kB / 0.5242 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009898/0.5809, allocations: 3.84 MB / 0.528 GB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.581, allocations: 1.906 kB / 0.528 GB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.581, allocations: 0 / 0.528 GB, free: 7.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.581, allocations: 0 / 0.528 GB, free: 7.734 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.002941/0.5839, allocations: 1.036 MB / 0.529 GB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.584, allocations: 13.88 kB / 0.529 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.5858, allocations: 190.7 kB / 0.5292 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.5864, allocations: 338.4 kB / 0.5295 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.5864, allocations: 23.31 kB / 0.5295 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.5865, allocations: 29.81 kB / 0.5296 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5878, allocations: 496.8 kB / 0.53 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5878, allocations: 1.188 kB / 0.53 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.5879, allocations: 12 kB / 0.53 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.5879, allocations: 7.125 kB / 0.53 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5891, allocations: 412 kB / 0.5304 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.5919, allocations: 2.424 MB / 0.5328 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.593, allocations: 331.5 kB / 0.5331 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.5933, allocations: 109.6 kB / 0.5332 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04129/0.6346, allocations: 16.46 MB / 0.5493 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.6347, allocations: 34.97 kB / 0.5493 GB, free: 5.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.916e-06/0.6347, allocations: 0 / 0.5493 GB, free: 5.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002778/0.6375, allocations: 0.5256 MB / 0.5498 GB, free: 4.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.6376, allocations: 102.8 kB / 0.5499 GB, free: 4.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.638, allocations: 322.2 kB / 0.5503 GB, free: 4.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.6381, allocations: 27.45 kB / 0.5503 GB, free: 4.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.6383, allocations: 209.5 kB / 0.5505 GB, free: 4.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.6384, allocations: 64.88 kB / 0.5505 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.6385, allocations: 54.23 kB / 0.5506 GB, free: 3.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6387, allocations: 346.2 kB / 0.5509 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.6392, allocations: 83.94 kB / 0.551 GB, free: 3.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.6398, allocations: 216.4 kB / 0.5512 GB, free: 3.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.6407, allocations: 296.7 kB / 0.5515 GB, free: 2.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6407, allocations: 0 / 0.5515 GB, free: 2.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00125/0.642, allocations: 342.7 kB / 0.5518 GB, free: 2.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.642, allocations: 10.97 kB / 0.5518 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.642, allocations: 11.98 kB / 0.5518 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.6421, allocations: 8.781 kB / 0.5519 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.6425, allocations: 62.86 kB / 0.5519 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.6426, allocations: 14.2 kB / 0.5519 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.643, allocations: 43.67 kB / 0.552 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.6431, allocations: 15.98 kB / 0.552 GB, free: 2.465 MB / 398.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.0002682/0.6434, allocations: 159.4 kB / 0.5521 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.6435, allocations: 31.62 kB / 0.5522 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.6452, allocations: 1.105 MB / 0.5532 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.6453, allocations: 23.91 kB / 0.5533 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6453, allocations: 0 / 0.5533 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6453, allocations: 3 kB / 0.5533 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.646, allocations: 0.6582 MB / 0.5539 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.646, allocations: 0 / 0.5539 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.6463, allocations: 47.95 kB / 0.554 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.6463, allocations: 0 / 0.554 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6463, allocations: 4 kB / 0.554 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.6463, allocations: 3.938 kB / 0.554 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6463, allocations: 4 kB / 0.554 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.6472, allocations: 0.6218 MB / 0.5546 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.6474, allocations: 148.3 kB / 0.5547 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.6475, allocations: 23.69 kB / 0.5547 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.6477, allocations: 23.92 kB / 0.5548 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.6478, allocations: 23.97 kB / 0.5548 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.6478, allocations: 7.984 kB / 0.5548 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003827/0.6482, allocations: 338.9 kB / 0.5551 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6482, allocations: 0 / 0.5551 GB, free: 15.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003023/0.6512, allocations: 0.851 MB / 0.5559 GB, free: 14.32 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.005788/0.657, allocations: 1.005 MB / 0.5569 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009356/0.658, allocations: 350.5 kB / 0.5573 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.658, allocations: 0.9375 kB / 0.5573 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.6584, allocations: 255.7 kB / 0.5575 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6595, allocations: 186.6 kB / 0.5577 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.6613, allocations: 1.243 MB / 0.5589 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.6618, allocations: 0.8837 MB / 0.5598 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003967/0.6622, allocations: 175.7 kB / 0.5599 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.6623, allocations: 35.42 kB / 0.56 GB, free: 10.29 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6623, allocations: 0 / 0.56 GB, free: 10.29 MB / 414.1 MB Notification: Performance of Templates: time 0.05115/0.7135, allocations: 34.18 MB / 0.5933 GB, free: 8.242 MB / 446.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/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