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.001814/0.001813, allocations: 177.5 kB / 17.41 MB, free: 4.414 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.525/1.525, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007907/0.0007908, allocations: 96.88 kB / 271.9 MB, free: 8.266 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.3882/0.3882, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004108, allocations: 16 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.542/5.692, allocations: 2.755 GB / 3.235 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/5.693, allocations: 90.31 kB / 3.235 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7952/6.488, allocations: 303.3 MB / 3.531 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/6.488, allocations: 0 / 3.531 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.774e-05/6.488, allocations: 4 kB / 3.531 GB, free: 14.72 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.004375/6.492, allocations: 1.352 MB / 3.532 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/6.492, allocations: 8.031 kB / 3.532 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/6.494, allocations: 203.3 kB / 3.532 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/6.494, allocations: 345.7 kB / 3.533 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/6.494, allocations: 21.69 kB / 3.533 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/6.494, allocations: 27.94 kB / 3.533 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/6.495, allocations: 0.4949 MB / 3.533 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/6.495, allocations: 0 / 3.533 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/6.496, allocations: 19.98 kB / 3.533 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/6.496, allocations: 8 kB / 3.533 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/6.497, allocations: 429.3 kB / 3.534 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/6.499, allocations: 2.404 MB / 3.536 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/6.5, allocations: 322.3 kB / 3.536 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/6.5, allocations: 104.8 kB / 3.536 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2634/6.764, allocations: 16.39 MB / 3.552 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/6.764, allocations: 38.16 kB / 3.553 GB, free: 48.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.015e-06/6.764, allocations: 0 / 3.553 GB, free: 48.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.00198/6.766, allocations: 0.5336 MB / 3.553 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/6.766, allocations: 116 kB / 3.553 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/6.766, allocations: 321.5 kB / 3.553 GB, free: 48.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/6.766, allocations: 28.8 kB / 3.553 GB, free: 48.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/6.766, allocations: 211.3 kB / 3.554 GB, free: 48.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/6.766, allocations: 45.62 kB / 3.554 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/6.766, allocations: 4.938 kB / 3.554 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.22e-05/6.766, allocations: 337.2 kB / 3.554 GB, free: 47.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/6.767, allocations: 92.39 kB / 3.554 GB, free: 47.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/6.767, allocations: 208.8 kB / 3.554 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/6.768, allocations: 304.3 kB / 3.555 GB, free: 47.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/6.768, allocations: 2.438 kB / 3.555 GB, free: 47.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007201/6.768, allocations: 339.4 kB / 3.555 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/6.768, allocations: 6.875 kB / 3.555 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/6.768, allocations: 4.156 kB / 3.555 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/6.768, allocations: 9.344 kB / 3.555 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/6.769, allocations: 75.08 kB / 3.555 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/6.769, allocations: 10.58 kB / 3.555 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/6.769, allocations: 54.98 kB / 3.555 GB, free: 47.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/6.769, allocations: 14.78 kB / 3.555 GB, free: 47.6 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.0001469/6.769, allocations: 165 kB / 3.555 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/6.769, allocations: 30.31 kB / 3.555 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/6.77, allocations: 1.128 MB / 3.556 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/6.771, allocations: 13 kB / 3.556 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/6.771, allocations: 2.969 kB / 3.556 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/6.771, allocations: 3.969 kB / 3.556 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/6.771, allocations: 0.6538 MB / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/6.771, allocations: 0 / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/6.771, allocations: 55.44 kB / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/6.771, allocations: 2.781 kB / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/6.771, allocations: 6.844 kB / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/6.771, allocations: 5.641 kB / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/6.771, allocations: 0 / 3.557 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/6.772, allocations: 0.6227 MB / 3.558 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/6.772, allocations: 199 kB / 3.558 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/6.772, allocations: 13.2 kB / 3.558 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/6.772, allocations: 30 kB / 3.558 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/6.772, allocations: 27.08 kB / 3.558 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/6.772, allocations: 4.656 kB / 3.558 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002883/6.773, allocations: 336.2 kB / 3.558 GB, free: 46.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.773, allocations: 3.969 kB / 3.558 GB, free: 46.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003658/6.776, allocations: 0.876 MB / 3.559 GB, free: 46.7 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.005106/6.782, allocations: 1.293 MB / 3.56 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008138/6.782, allocations: 350.3 kB / 3.561 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/6.782, allocations: 0 / 3.561 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/6.783, allocations: 264 kB / 3.561 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009777/6.784, allocations: 182 kB / 3.561 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/6.785, allocations: 1.292 MB / 3.562 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/6.785, allocations: 0.875 MB / 3.563 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/6.785, allocations: 35.94 kB / 3.563 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/6.785, allocations: 0 / 3.563 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.02681/6.812, allocations: 20.95 MB / 3.584 GB, free: 44.76 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