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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009403/0.0009403, allocations: 181.4 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008569/0.0008564, allocations: 90.64 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1988/0.1988, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.864e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.461/6.579, allocations: 2.754 GB / 3.22 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/6.58, allocations: 87.23 kB / 3.22 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.288/7.868, allocations: 309.7 MB / 3.522 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.164e-06/7.868, allocations: 0 / 3.522 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.047e-05/7.868, allocations: 7.625 kB / 3.522 GB, free: 78.25 MB / 0.4948 GB 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.005213/7.873, allocations: 1.311 MB / 3.523 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/7.873, allocations: 11 kB / 3.523 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/7.875, allocations: 196.7 kB / 3.524 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/7.875, allocations: 347 kB / 3.524 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/7.876, allocations: 11.5 kB / 3.524 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/7.876, allocations: 12.31 kB / 3.524 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003911/7.876, allocations: 225.4 kB / 3.524 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/7.876, allocations: 329.2 kB / 3.525 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/7.876, allocations: 7.219 kB / 3.525 GB, free: 76.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/7.877, allocations: 0 / 3.525 GB, free: 76.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/7.877, allocations: 9.578 kB / 3.525 GB, free: 76.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/7.879, allocations: 2.324 MB / 3.527 GB, free: 74.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/7.879, allocations: 150.9 kB / 3.527 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/7.88, allocations: 66.56 kB / 3.527 GB, free: 74.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02766/7.907, allocations: 16.46 MB / 3.543 GB, free: 63.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/7.907, allocations: 34.56 kB / 3.543 GB, free: 63.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/7.907, allocations: 0 / 3.543 GB, free: 63.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.001103/7.908, allocations: 308.5 kB / 3.543 GB, free: 63.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/7.908, allocations: 102.8 kB / 3.544 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/7.909, allocations: 233.3 kB / 3.544 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/7.909, allocations: 25.7 kB / 3.544 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/7.909, allocations: 210.7 kB / 3.544 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/7.909, allocations: 47.12 kB / 3.544 GB, free: 62.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/7.909, allocations: 0 / 3.544 GB, free: 62.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/7.909, allocations: 342 kB / 3.544 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/7.909, allocations: 47.89 kB / 3.544 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/7.909, allocations: 164.5 kB / 3.545 GB, free: 62.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/7.909, allocations: 93.92 kB / 3.545 GB, free: 61.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/7.909, allocations: 4 kB / 3.545 GB, free: 61.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004314/7.91, allocations: 249.5 kB / 3.545 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/7.91, allocations: 8 kB / 3.545 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/7.91, allocations: 0 / 3.545 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/7.91, allocations: 8 kB / 3.545 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/7.91, allocations: 75.52 kB / 3.545 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/7.91, allocations: 15.72 kB / 3.545 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/7.911, allocations: 39.58 kB / 3.545 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/7.911, allocations: 12 kB / 3.545 GB, free: 61.63 MB / 0.4948 GB 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_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/7.911, allocations: 116.7 kB / 3.545 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/7.911, allocations: 31.52 kB / 3.545 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/7.912, allocations: 1.053 MB / 3.546 GB, free: 60.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/7.912, allocations: 11.42 kB / 3.546 GB, free: 60.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/7.912, allocations: 3.094 kB / 3.546 GB, free: 60.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/7.912, allocations: 3.844 kB / 3.546 GB, free: 60.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/7.912, allocations: 0.5955 MB / 3.547 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/7.912, allocations: 3.938 kB / 3.547 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/7.912, allocations: 62.72 kB / 3.547 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/7.912, allocations: 0 / 3.547 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/7.912, allocations: 0 / 3.547 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/7.912, allocations: 4 kB / 3.547 GB, free: 59.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/7.913, allocations: 4 kB / 3.547 GB, free: 59.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/7.913, allocations: 0.5525 MB / 3.547 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/7.913, allocations: 197.2 kB / 3.548 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/7.913, allocations: 0 / 3.548 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/7.913, allocations: 26.97 kB / 3.548 GB, free: 59.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/7.913, allocations: 27.05 kB / 3.548 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/7.913, allocations: 11.28 kB / 3.548 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002118/7.914, allocations: 277.5 kB / 3.548 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/7.914, allocations: 0 / 3.548 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004198/7.918, allocations: 0.8525 MB / 3.549 GB, free: 58.08 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005755/7.924, allocations: 1.359 MB / 3.55 GB, free: 56.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005172/7.924, allocations: 265.7 kB / 3.55 GB, free: 56.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/7.924, allocations: 3.938 kB / 3.55 GB, free: 56.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/7.924, allocations: 220.1 kB / 3.551 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/7.925, allocations: 121.1 kB / 3.551 GB, free: 56.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009609/7.926, allocations: 0.6828 MB / 3.551 GB, free: 55.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/7.927, allocations: 0.8919 MB / 3.552 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002907/7.927, allocations: 154 kB / 3.552 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/7.927, allocations: 31 kB / 3.552 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.844e-06/7.927, allocations: 0 / 3.552 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.03032/7.957, allocations: 24.31 MB / 3.576 GB, free: 31.09 MB / 0.4948 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches