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.002094/0.002094, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 88.14 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2977/0.2977, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.056e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.975/8.387, allocations: 2.754 GB / 3.22 GB, free: 48.78 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/8.388, allocations: 90.2 kB / 3.22 GB, free: 48.73 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.73/10.12, allocations: 309.7 MB / 3.522 GB, free: 73.64 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.714e-06/10.12, allocations: 3.5 kB / 3.522 GB, free: 73.64 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 2.785e-05/10.12, allocations: 6.219 kB / 3.522 GB, free: 73.64 MB / 0.4952 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.005527/10.12, allocations: 1.313 MB / 3.523 GB, free: 72.97 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/10.12, allocations: 11.69 kB / 3.523 GB, free: 72.97 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/10.13, allocations: 200.1 kB / 3.524 GB, free: 72.95 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/10.13, allocations: 337.4 kB / 3.524 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/10.13, allocations: 7.906 kB / 3.524 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/10.13, allocations: 16.33 kB / 3.524 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000587/10.13, allocations: 230 kB / 3.524 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/10.13, allocations: 328.8 kB / 3.524 GB, free: 72.61 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/10.13, allocations: 4.406 kB / 3.524 GB, free: 72.61 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/10.13, allocations: 0 / 3.524 GB, free: 72.61 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/10.13, allocations: 7.906 kB / 3.524 GB, free: 72.61 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/10.13, allocations: 2.334 MB / 3.527 GB, free: 70.89 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/10.13, allocations: 152.8 kB / 3.527 GB, free: 70.87 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/10.13, allocations: 55.8 kB / 3.527 GB, free: 70.86 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04873/10.18, allocations: 16.46 MB / 3.543 GB, free: 60.71 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/10.18, allocations: 37.78 kB / 3.543 GB, free: 60.67 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=15): time 3.276e-06/10.18, allocations: 0 / 3.543 GB, free: 60.67 MB / 0.4952 GB Notification: Performance of matching and sorting (n=15): time 0.001588/10.18, allocations: 305.5 kB / 3.543 GB, free: 60.63 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/10.18, allocations: 106.4 kB / 3.543 GB, free: 60.5 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/10.18, allocations: 227.9 kB / 3.544 GB, free: 60.4 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/10.18, allocations: 29.39 kB / 3.544 GB, free: 60.37 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/10.18, allocations: 269 kB / 3.544 GB, free: 60.18 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/10.18, allocations: 45.73 kB / 3.544 GB, free: 60.16 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/10.18, allocations: 0 / 3.544 GB, free: 60.16 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.978e-05/10.18, allocations: 321.9 kB / 3.544 GB, free: 59.84 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/10.18, allocations: 48.69 kB / 3.544 GB, free: 59.84 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/10.18, allocations: 169.3 kB / 3.545 GB, free: 59.7 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/10.18, allocations: 95.91 kB / 3.545 GB, free: 59.69 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/10.18, allocations: 3.812 kB / 3.545 GB, free: 59.69 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007427/10.19, allocations: 232.5 kB / 3.545 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/10.19, allocations: 5.5 kB / 3.545 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/10.19, allocations: 3.438 kB / 3.545 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/10.19, allocations: 10 kB / 3.545 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/10.19, allocations: 77.73 kB / 3.545 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/10.19, allocations: 9.141 kB / 3.545 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/10.19, allocations: 47.25 kB / 3.545 GB, free: 59.64 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/10.19, allocations: 17.78 kB / 3.545 GB, free: 59.64 MB / 0.4952 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 0.0001157/10.19, allocations: 109 kB / 3.545 GB, free: 59.53 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/10.19, allocations: 26.55 kB / 3.545 GB, free: 59.52 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/10.19, allocations: 1.061 MB / 3.546 GB, free: 59.33 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/10.19, allocations: 13.48 kB / 3.546 GB, free: 59.33 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/10.19, allocations: 0 / 3.546 GB, free: 59.33 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/10.19, allocations: 1.312 kB / 3.546 GB, free: 59.33 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008001/10.19, allocations: 0.5922 MB / 3.547 GB, free: 59.14 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/10.19, allocations: 7.188 kB / 3.547 GB, free: 59.14 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/10.19, allocations: 52.75 kB / 3.547 GB, free: 59.14 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/10.19, allocations: 7.703 kB / 3.547 GB, free: 59.13 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/10.19, allocations: 0 / 3.547 GB, free: 59.13 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/10.19, allocations: 6 kB / 3.547 GB, free: 59.13 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/10.19, allocations: 0 / 3.547 GB, free: 59.13 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/10.19, allocations: 0.5503 MB / 3.547 GB, free: 58.94 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/10.19, allocations: 200.6 kB / 3.548 GB, free: 58.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/10.19, allocations: 6.781 kB / 3.548 GB, free: 58.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/10.19, allocations: 27.16 kB / 3.548 GB, free: 58.8 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/10.19, allocations: 17.38 kB / 3.548 GB, free: 58.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/10.19, allocations: 7.516 kB / 3.548 GB, free: 58.8 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003701/10.19, allocations: 279.8 kB / 3.548 GB, free: 58.71 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/10.19, allocations: 2.734 kB / 3.548 GB, free: 58.71 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004368/10.2, allocations: 0.857 MB / 3.549 GB, free: 58.57 MB / 0.4952 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.008189/10.2, allocations: 1.365 MB / 3.55 GB, free: 58.33 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0006421/10.21, allocations: 263.2 kB / 3.55 GB, free: 58.32 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/10.21, allocations: 0.9375 kB / 3.55 GB, free: 58.32 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/10.21, allocations: 221.4 kB / 3.551 GB, free: 58.32 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/10.21, allocations: 132.6 kB / 3.551 GB, free: 58.32 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/10.21, allocations: 0.7138 MB / 3.551 GB, free: 58.07 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/10.21, allocations: 0.8873 MB / 3.552 GB, free: 57.37 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/10.21, allocations: 34.77 kB / 3.552 GB, free: 57.36 MB / 0.4952 GB Notification: Performance of SimCode: time 1.974e-06/10.21, allocations: 0 / 3.552 GB, free: 57.36 MB / 0.4952 GB Notification: Performance of Templates: time 0.04845/10.26, allocations: 23.38 MB / 3.575 GB, free: 54.98 MB / 0.4952 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