Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 198.4 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 226.5 MB / 244.1 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008749/0.0008748, allocations: 98.84 kB / 296.1 MB, free: 6.715 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4222/0.4222, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004081, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4409, allocations: 62.95 MB / 0.5165 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.013/7.454, allocations: 2.761 GB / 3.277 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/7.454, allocations: 87.95 kB / 3.277 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.321/8.775, allocations: 306.6 MB / 3.577 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.707e-06/8.775, allocations: 0 / 3.577 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.563e-05/8.775, allocations: 13.44 kB / 3.577 GB, free: 85.66 MB / 0.5417 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.006676/8.781, allocations: 1.353 MB / 3.578 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/8.781, allocations: 7.844 kB / 3.578 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/8.784, allocations: 219.8 kB / 3.578 GB, free: 84.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008471/8.784, allocations: 343.6 kB / 3.579 GB, free: 84.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/8.784, allocations: 29.16 kB / 3.579 GB, free: 84.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/8.785, allocations: 23.38 kB / 3.579 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/8.786, allocations: 0.4937 MB / 3.579 GB, free: 84.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/8.786, allocations: 7.031 kB / 3.579 GB, free: 84.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/8.786, allocations: 14.61 kB / 3.579 GB, free: 84.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/8.786, allocations: 11.19 kB / 3.579 GB, free: 84.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/8.787, allocations: 435.8 kB / 3.58 GB, free: 84.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/8.791, allocations: 2.398 MB / 3.582 GB, free: 82.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/8.792, allocations: 333.1 kB / 3.582 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/8.792, allocations: 103.9 kB / 3.583 GB, free: 82.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02925/8.822, allocations: 18.24 MB / 3.6 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/8.822, allocations: 38.47 kB / 3.6 GB, free: 69.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/8.822, allocations: 3.938 kB / 3.6 GB, free: 69.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.002009/8.824, allocations: 0.5374 MB / 3.601 GB, free: 69.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/8.824, allocations: 114.3 kB / 3.601 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/8.824, allocations: 314.5 kB / 3.601 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/8.824, allocations: 29.7 kB / 3.601 GB, free: 69.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/8.824, allocations: 204 kB / 3.602 GB, free: 69.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/8.824, allocations: 54.12 kB / 3.602 GB, free: 69.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/8.824, allocations: 7.906 kB / 3.602 GB, free: 69.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/8.824, allocations: 342.4 kB / 3.602 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/8.825, allocations: 85.06 kB / 3.602 GB, free: 68.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/8.825, allocations: 209.8 kB / 3.602 GB, free: 68.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/8.826, allocations: 309.7 kB / 3.602 GB, free: 68.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/8.826, allocations: 0 / 3.602 GB, free: 68.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007181/8.826, allocations: 334.2 kB / 3.603 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/8.826, allocations: 7.438 kB / 3.603 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/8.826, allocations: 3.844 kB / 3.603 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/8.826, allocations: 3.625 kB / 3.603 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/8.827, allocations: 87.83 kB / 3.603 GB, free: 68.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/8.827, allocations: 3.781 kB / 3.603 GB, free: 68.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/8.827, allocations: 60.03 kB / 3.603 GB, free: 68.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/8.827, allocations: 15.78 kB / 3.603 GB, free: 68.25 MB / 0.5417 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.0001724/8.827, allocations: 154.3 kB / 3.603 GB, free: 68.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/8.827, allocations: 33.81 kB / 3.603 GB, free: 68.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/8.829, allocations: 1.132 MB / 3.604 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/8.829, allocations: 18.45 kB / 3.604 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/8.829, allocations: 3.703 kB / 3.604 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/8.829, allocations: 0 / 3.604 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/8.829, allocations: 0.6506 MB / 3.605 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/8.829, allocations: 0 / 3.605 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/8.83, allocations: 62.05 kB / 3.605 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/8.83, allocations: 0 / 3.605 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/8.83, allocations: 7.969 kB / 3.605 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/8.83, allocations: 3.938 kB / 3.605 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/8.83, allocations: 0 / 3.605 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/8.83, allocations: 0.6246 MB / 3.606 GB, free: 66.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/8.831, allocations: 207.2 kB / 3.606 GB, free: 66.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/8.831, allocations: 7.906 kB / 3.606 GB, free: 66.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/8.831, allocations: 24.77 kB / 3.606 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/8.831, allocations: 26.53 kB / 3.606 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/8.831, allocations: 3.781 kB / 3.606 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000332/8.831, allocations: 338.7 kB / 3.606 GB, free: 66.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-07/8.831, allocations: 0 / 3.606 GB, free: 66.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004435/8.836, allocations: 0.8899 MB / 3.607 GB, free: 66.28 MB / 0.5417 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.005737/8.841, allocations: 1.294 MB / 3.608 GB, free: 66.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000813/8.842, allocations: 351.7 kB / 3.609 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/8.842, allocations: 0 / 3.609 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/8.843, allocations: 268.9 kB / 3.609 GB, free: 65.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/8.844, allocations: 175.3 kB / 3.609 GB, free: 65.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/8.845, allocations: 1.288 MB / 3.61 GB, free: 64.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/8.845, allocations: 0.8762 MB / 3.611 GB, free: 64.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/8.845, allocations: 38.53 kB / 3.611 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/8.845, allocations: 0 / 3.611 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of Templates: time 0.03169/8.877, allocations: 21.08 MB / 3.632 GB, free: 62.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches