Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 100 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4985/0.4985, allocations: 44.83 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003679, allocations: 4 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4679, allocations: 62.97 MB / 0.5184 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.943/8.411, allocations: 2.761 GB / 3.279 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/8.412, allocations: 91.94 kB / 3.279 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.455/9.867, allocations: 306.6 MB / 3.579 GB, free: 86.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.675e-06/9.867, allocations: 0 / 3.579 GB, free: 86.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.814e-05/9.867, allocations: 11.12 kB / 3.579 GB, free: 86.87 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.006068/9.873, allocations: 1.341 MB / 3.58 GB, free: 86.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/9.873, allocations: 12.7 kB / 3.58 GB, free: 86.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/9.875, allocations: 217.3 kB / 3.58 GB, free: 86.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/9.875, allocations: 342.9 kB / 3.581 GB, free: 85.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/9.875, allocations: 25.09 kB / 3.581 GB, free: 85.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/9.875, allocations: 26.41 kB / 3.581 GB, free: 85.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/9.877, allocations: 0.4922 MB / 3.581 GB, free: 85.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/9.877, allocations: 11.06 kB / 3.581 GB, free: 85.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/9.877, allocations: 13.31 kB / 3.581 GB, free: 85.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/9.877, allocations: 7.094 kB / 3.581 GB, free: 85.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/9.878, allocations: 434.2 kB / 3.582 GB, free: 85.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/9.881, allocations: 2.41 MB / 3.584 GB, free: 83.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/9.882, allocations: 330 kB / 3.584 GB, free: 83.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/9.882, allocations: 99.52 kB / 3.584 GB, free: 83.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/9.91, allocations: 18.25 MB / 3.602 GB, free: 71.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/9.91, allocations: 30.56 kB / 3.602 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 3.176e-06/9.91, allocations: 0 / 3.602 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.002009/9.912, allocations: 0.5391 MB / 3.603 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/9.912, allocations: 113.1 kB / 3.603 GB, free: 70.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/9.912, allocations: 311.2 kB / 3.603 GB, free: 70.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/9.912, allocations: 28.92 kB / 3.603 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/9.912, allocations: 212.8 kB / 3.603 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/9.913, allocations: 50.77 kB / 3.604 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/9.913, allocations: 7.812 kB / 3.604 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/9.913, allocations: 338.9 kB / 3.604 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/9.913, allocations: 93.11 kB / 3.604 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/9.913, allocations: 213.3 kB / 3.604 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/9.914, allocations: 303 kB / 3.604 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/9.914, allocations: 0 / 3.604 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007899/9.915, allocations: 332.1 kB / 3.605 GB, free: 69.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/9.915, allocations: 11.66 kB / 3.605 GB, free: 69.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/9.915, allocations: 7.75 kB / 3.605 GB, free: 69.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/9.915, allocations: 9.953 kB / 3.605 GB, free: 69.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/9.915, allocations: 84.66 kB / 3.605 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/9.915, allocations: 3.938 kB / 3.605 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/9.915, allocations: 55.44 kB / 3.605 GB, free: 69.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/9.915, allocations: 11.53 kB / 3.605 GB, free: 69.47 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.000212/9.916, allocations: 160.7 kB / 3.605 GB, free: 69.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/9.916, allocations: 31.25 kB / 3.605 GB, free: 69.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/9.917, allocations: 1.138 MB / 3.606 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/9.917, allocations: 15.38 kB / 3.606 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/9.917, allocations: 0 / 3.606 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/9.917, allocations: 3.703 kB / 3.606 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008531/9.918, allocations: 0.6508 MB / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/9.918, allocations: 0 / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/9.918, allocations: 59.88 kB / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/9.918, allocations: 0 / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/9.918, allocations: 4 kB / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/9.918, allocations: 7.844 kB / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/9.918, allocations: 3.375 kB / 3.607 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/9.919, allocations: 0.621 MB / 3.608 GB, free: 68.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/9.919, allocations: 203.9 kB / 3.608 GB, free: 67.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/9.92, allocations: 7.844 kB / 3.608 GB, free: 67.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/9.92, allocations: 25.98 kB / 3.608 GB, free: 67.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/9.92, allocations: 25.12 kB / 3.608 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/9.92, allocations: 7.25 kB / 3.608 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003463/9.92, allocations: 339.1 kB / 3.608 GB, free: 67.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/9.92, allocations: 0 / 3.608 GB, free: 67.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004613/9.925, allocations: 0.8884 MB / 3.609 GB, free: 67.48 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.007779/9.933, allocations: 1.303 MB / 3.61 GB, free: 67.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008377/9.934, allocations: 347.1 kB / 3.611 GB, free: 67.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/9.934, allocations: 0 / 3.611 GB, free: 67.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/9.934, allocations: 264.8 kB / 3.611 GB, free: 67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/9.935, allocations: 179.8 kB / 3.611 GB, free: 66.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/9.937, allocations: 1.262 MB / 3.612 GB, free: 66.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/9.937, allocations: 0.8822 MB / 3.613 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003793/9.937, allocations: 152.3 kB / 3.613 GB, free: 65.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/9.938, allocations: 40.16 kB / 3.613 GB, free: 65.48 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/9.938, allocations: 0 / 3.613 GB, free: 65.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.04784/9.985, allocations: 30.42 MB / 3.643 GB, free: 63.89 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches