Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002253/0.002253, allocations: 187.6 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 93.78 kB / 270.9 MB, free: 8.375 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.4966/0.4966, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006248/0.0006248, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1194, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.471/8.591, allocations: 2.754 GB / 3.233 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/8.591, allocations: 87.77 kB / 3.233 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.754/10.34, allocations: 314.4 MB / 3.54 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/10.34, allocations: 0 / 3.54 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.438e-05/10.34, allocations: 8.844 kB / 3.54 GB, free: 58.37 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.00619/10.35, allocations: 1.343 MB / 3.542 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/10.35, allocations: 13.28 kB / 3.542 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/10.35, allocations: 205.2 kB / 3.542 GB, free: 57.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/10.35, allocations: 331.5 kB / 3.542 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/10.35, allocations: 23.19 kB / 3.542 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/10.35, allocations: 23.31 kB / 3.542 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/10.36, allocations: 0.498 MB / 3.543 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/10.36, allocations: 2.312 kB / 3.543 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/10.36, allocations: 16.42 kB / 3.543 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/10.36, allocations: 7.094 kB / 3.543 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/10.36, allocations: 434.2 kB / 3.543 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/10.36, allocations: 2.399 MB / 3.545 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/10.36, allocations: 336.2 kB / 3.546 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05088/10.42, allocations: 16.4 MB / 3.562 GB, free: 45.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/10.42, allocations: 30.56 kB / 3.562 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.396e-06/10.42, allocations: 0 / 3.562 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.003054/10.42, allocations: 0.539 MB / 3.562 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/10.42, allocations: 105.6 kB / 3.562 GB, free: 45.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/10.42, allocations: 284.1 kB / 3.563 GB, free: 45.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/10.42, allocations: 29.58 kB / 3.563 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/10.42, allocations: 249.8 kB / 3.563 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/10.42, allocations: 61.41 kB / 3.563 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/10.42, allocations: 9.562 kB / 3.563 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/10.42, allocations: 321.8 kB / 3.563 GB, free: 44.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/10.42, allocations: 88.88 kB / 3.563 GB, free: 44.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/10.42, allocations: 203.2 kB / 3.564 GB, free: 44.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/10.42, allocations: 125.8 kB / 3.564 GB, free: 44.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/10.42, allocations: 0 / 3.564 GB, free: 44.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001169/10.42, allocations: 321.5 kB / 3.564 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/10.42, allocations: 3.875 kB / 3.564 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/10.42, allocations: 3.906 kB / 3.564 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/10.42, allocations: 9.969 kB / 3.564 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/10.42, allocations: 72.94 kB / 3.564 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/10.42, allocations: 12.97 kB / 3.564 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/10.42, allocations: 46.28 kB / 3.564 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/10.42, allocations: 17.5 kB / 3.564 GB, free: 44.31 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/10.42, allocations: 160.2 kB / 3.564 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/10.42, allocations: 38.83 kB / 3.564 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/10.43, allocations: 1.126 MB / 3.565 GB, free: 44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/10.43, allocations: 14.94 kB / 3.565 GB, free: 44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/10.43, allocations: 6.594 kB / 3.565 GB, free: 44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/10.43, allocations: 0 / 3.565 GB, free: 44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008633/10.43, allocations: 0.6611 MB / 3.566 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/10.43, allocations: 0 / 3.566 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/10.43, allocations: 64.88 kB / 3.566 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/10.43, allocations: 0 / 3.566 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/10.43, allocations: 6.531 kB / 3.566 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/10.43, allocations: 0 / 3.566 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/10.43, allocations: 0 / 3.566 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/10.43, allocations: 0.6277 MB / 3.567 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/10.43, allocations: 198.3 kB / 3.567 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/10.43, allocations: 7.625 kB / 3.567 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/10.43, allocations: 28.28 kB / 3.567 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/10.43, allocations: 22.72 kB / 3.567 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/10.43, allocations: 5.562 kB / 3.567 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004997/10.43, allocations: 339.1 kB / 3.567 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/10.43, allocations: 0 / 3.567 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004502/10.43, allocations: 0.8698 MB / 3.568 GB, free: 43.21 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 () * 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 (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.007775/10.44, allocations: 1.29 MB / 3.569 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00127/10.44, allocations: 353.2 kB / 3.57 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/10.44, allocations: 3.844 kB / 3.57 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/10.44, allocations: 258 kB / 3.57 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/10.45, allocations: 175.4 kB / 3.57 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/10.45, allocations: 1.294 MB / 3.572 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/10.45, allocations: 0.8844 MB / 3.572 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/10.45, allocations: 38.11 kB / 3.572 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of SimCode: time 9.11e-07/10.45, allocations: 3.312 kB / 3.572 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.04701/10.5, allocations: 23.48 MB / 3.595 GB, free: 39.27 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches