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.001291/0.001292, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009996/0.0009995, allocations: 110.6 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3791/0.3791, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4239, allocations: 63.24 MB / 0.5192 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.869/6.293, allocations: 2.761 GB / 3.28 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/6.293, allocations: 91.64 kB / 3.28 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9093/7.202, allocations: 317.8 MB / 3.59 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/7.202, allocations: 0 / 3.59 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.783e-05/7.202, allocations: 8 kB / 3.59 GB, free: 59.13 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.004718/7.207, allocations: 1.355 MB / 3.592 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/7.207, allocations: 12.03 kB / 3.592 GB, free: 57.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/7.209, allocations: 215.4 kB / 3.592 GB, free: 57.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/7.209, allocations: 332.6 kB / 3.592 GB, free: 57.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/7.209, allocations: 24.56 kB / 3.592 GB, free: 57.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/7.209, allocations: 24.69 kB / 3.592 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/7.21, allocations: 498.9 kB / 3.593 GB, free: 56.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/7.211, allocations: 7.953 kB / 3.593 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/7.211, allocations: 12 kB / 3.593 GB, free: 56.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/7.211, allocations: 4 kB / 3.593 GB, free: 56.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/7.212, allocations: 437.2 kB / 3.593 GB, free: 56.13 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/7.214, allocations: 2.402 MB / 3.596 GB, free: 53.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/7.215, allocations: 322.3 kB / 3.596 GB, free: 53.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0274/7.243, allocations: 18.25 MB / 3.614 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/7.243, allocations: 34.56 kB / 3.614 GB, free: 32.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/7.243, allocations: 0 / 3.614 GB, free: 32.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.001889/7.245, allocations: 0.5302 MB / 3.614 GB, free: 32.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/7.245, allocations: 110.8 kB / 3.614 GB, free: 31.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/7.245, allocations: 287.5 kB / 3.615 GB, free: 31.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/7.245, allocations: 33.7 kB / 3.615 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/7.245, allocations: 207.3 kB / 3.615 GB, free: 31.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/7.245, allocations: 47.36 kB / 3.615 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/7.245, allocations: 7.938 kB / 3.615 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/7.245, allocations: 338.8 kB / 3.615 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/7.246, allocations: 91.94 kB / 3.615 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/7.246, allocations: 211.3 kB / 3.615 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/7.246, allocations: 119.9 kB / 3.616 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.246, allocations: 0 / 3.616 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006815/7.247, allocations: 338.2 kB / 3.616 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/7.247, allocations: 4 kB / 3.616 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/7.247, allocations: 4 kB / 3.616 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/7.247, allocations: 8 kB / 3.616 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/7.247, allocations: 84.34 kB / 3.616 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/7.247, allocations: 7.938 kB / 3.616 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/7.247, allocations: 47.67 kB / 3.616 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/7.248, allocations: 19.98 kB / 3.616 GB, free: 29.98 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.000166/7.248, allocations: 153.7 kB / 3.616 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/7.248, allocations: 35.58 kB / 3.616 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/7.249, allocations: 1.139 MB / 3.617 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/7.249, allocations: 19.95 kB / 3.617 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/7.249, allocations: 0 / 3.617 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/7.249, allocations: 0 / 3.617 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/7.25, allocations: 0.6597 MB / 3.618 GB, free: 27.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/7.25, allocations: 0 / 3.618 GB, free: 27.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/7.25, allocations: 63.89 kB / 3.618 GB, free: 27.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/7.25, allocations: 0 / 3.618 GB, free: 27.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/7.25, allocations: 3.984 kB / 3.618 GB, free: 27.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/7.25, allocations: 8 kB / 3.618 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/7.25, allocations: 0 / 3.618 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/7.251, allocations: 0.627 MB / 3.619 GB, free: 27.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/7.251, allocations: 196 kB / 3.619 GB, free: 26.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/7.251, allocations: 8 kB / 3.619 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/7.251, allocations: 31.97 kB / 3.619 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/7.251, allocations: 15.97 kB / 3.619 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/7.251, allocations: 8 kB / 3.619 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003448/7.252, allocations: 334.9 kB / 3.619 GB, free: 26.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/7.252, allocations: 0 / 3.619 GB, free: 26.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0051/7.257, allocations: 0.8859 MB / 3.62 GB, free: 25.71 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.007778/7.265, allocations: 1.302 MB / 3.621 GB, free: 24.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000915/7.266, allocations: 353.1 kB / 3.622 GB, free: 24.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/7.266, allocations: 4 kB / 3.622 GB, free: 24.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004592/7.266, allocations: 260.5 kB / 3.622 GB, free: 23.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/7.267, allocations: 183 kB / 3.622 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/7.268, allocations: 1.258 MB / 3.623 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/7.269, allocations: 0.8878 MB / 3.624 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003555/7.269, allocations: 161.2 kB / 3.624 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/7.269, allocations: 31.44 kB / 3.624 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/7.269, allocations: 0 / 3.624 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.2923/7.561, allocations: 28.6 MB / 3.652 GB, free: 78.95 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/jenkins/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