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.00102/0.00102, allocations: 197.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008529/0.0008529, allocations: 96.84 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.408e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.924/7.031, allocations: 2.76 GB / 3.264 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/7.032, allocations: 86.53 kB / 3.264 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.268/8.3, allocations: 313.1 MB / 3.57 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/8.3, allocations: 2.531 kB / 3.57 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.506e-05/8.3, allocations: 11.28 kB / 3.57 GB, free: 78.38 MB / 0.5261 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.005997/8.306, allocations: 1.319 MB / 3.572 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/8.306, allocations: 9.938 kB / 3.572 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/8.308, allocations: 213.1 kB / 3.572 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/8.309, allocations: 336.6 kB / 3.572 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/8.309, allocations: 13.88 kB / 3.572 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/8.309, allocations: 15.34 kB / 3.572 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004701/8.309, allocations: 232.9 kB / 3.572 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/8.31, allocations: 321.4 kB / 3.573 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/8.31, allocations: 8.438 kB / 3.573 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/8.31, allocations: 1.969 kB / 3.573 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/8.31, allocations: 6.719 kB / 3.573 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/8.313, allocations: 2.33 MB / 3.575 GB, free: 75.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/8.313, allocations: 147.6 kB / 3.575 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/8.313, allocations: 63.41 kB / 3.575 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03217/8.345, allocations: 18.3 MB / 3.593 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/8.345, allocations: 35.66 kB / 3.593 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/8.345, allocations: 0 / 3.593 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001558/8.347, allocations: 303.5 kB / 3.593 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/8.347, allocations: 109.2 kB / 3.593 GB, free: 63.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/8.347, allocations: 226.2 kB / 3.594 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/8.347, allocations: 25.7 kB / 3.594 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/8.348, allocations: 212.9 kB / 3.594 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/8.348, allocations: 47.86 kB / 3.594 GB, free: 63.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/8.348, allocations: 2.062 kB / 3.594 GB, free: 63.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001163/8.348, allocations: 337.5 kB / 3.594 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/8.348, allocations: 48.89 kB / 3.594 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/8.348, allocations: 175.4 kB / 3.594 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/8.348, allocations: 81.16 kB / 3.595 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/8.348, allocations: 1.406 kB / 3.595 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005052/8.349, allocations: 247.6 kB / 3.595 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/8.349, allocations: 16.48 kB / 3.595 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/8.349, allocations: 3.719 kB / 3.595 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/8.349, allocations: 6.469 kB / 3.595 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/8.349, allocations: 75.75 kB / 3.595 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/8.349, allocations: 10 kB / 3.595 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/8.35, allocations: 46.12 kB / 3.595 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/8.35, allocations: 11 kB / 3.595 GB, free: 62.72 MB / 0.5261 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 9.69e-05/8.35, allocations: 116.4 kB / 3.595 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/8.35, allocations: 25.72 kB / 3.595 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/8.351, allocations: 1.056 MB / 3.596 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/8.351, allocations: 13.97 kB / 3.596 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/8.351, allocations: 6.625 kB / 3.596 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/8.351, allocations: 0 / 3.596 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/8.352, allocations: 0.5879 MB / 3.597 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/8.352, allocations: 0 / 3.597 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/8.352, allocations: 65.09 kB / 3.597 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/8.352, allocations: 7.797 kB / 3.597 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/8.352, allocations: 0 / 3.597 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/8.352, allocations: 0 / 3.597 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/8.352, allocations: 0 / 3.597 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/8.352, allocations: 0.5497 MB / 3.597 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/8.352, allocations: 199.8 kB / 3.597 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/8.352, allocations: 7.656 kB / 3.597 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/8.353, allocations: 27.09 kB / 3.597 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/8.353, allocations: 16.31 kB / 3.598 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/8.353, allocations: 12.92 kB / 3.598 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002892/8.353, allocations: 277.2 kB / 3.598 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/8.353, allocations: 0 / 3.598 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004588/8.358, allocations: 0.8686 MB / 3.599 GB, free: 61.73 MB / 0.5261 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.005824/8.364, allocations: 1.384 MB / 3.6 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004632/8.364, allocations: 261.6 kB / 3.6 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/8.364, allocations: 0 / 3.6 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/8.364, allocations: 221.2 kB / 3.6 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/8.365, allocations: 138.2 kB / 3.601 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/8.366, allocations: 0.6862 MB / 3.601 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/8.366, allocations: 0.8871 MB / 3.602 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002882/8.367, allocations: 147.7 kB / 3.602 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/8.367, allocations: 35.17 kB / 3.602 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/8.367, allocations: 3.094 kB / 3.602 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.03183/8.399, allocations: 24.39 MB / 3.626 GB, free: 60.11 MB / 0.5261 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