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.0009575/0.0009576, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008957/0.0008958, allocations: 93.27 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1838/0.1838, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.838e-05, allocations: 4 kB / 460.4 MB, free: 69.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 63.24 MB / 0.5114 GB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.469/5.574, allocations: 2.761 GB / 3.272 GB, free: 97.95 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/5.574, allocations: 87.84 kB / 3.272 GB, free: 97.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8651/6.44, allocations: 316.9 MB / 3.582 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.463e-06/6.44, allocations: 0 / 3.582 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.061e-05/6.44, allocations: 8 kB / 3.582 GB, free: 4.285 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.004649/6.444, allocations: 1.324 MB / 3.583 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/6.444, allocations: 8.031 kB / 3.583 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/6.446, allocations: 215.4 kB / 3.583 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/6.446, allocations: 345.2 kB / 3.583 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/6.446, allocations: 20.56 kB / 3.583 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/6.446, allocations: 24.69 kB / 3.584 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/6.447, allocations: 487 kB / 3.584 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/6.447, allocations: 3.953 kB / 3.584 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/6.447, allocations: 15.94 kB / 3.584 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/6.447, allocations: 12 kB / 3.584 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007469/6.448, allocations: 389.3 kB / 3.584 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3403/6.789, allocations: 2.385 MB / 3.587 GB, free: 91.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/6.79, allocations: 279.8 kB / 3.587 GB, free: 91.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/6.79, allocations: 71.08 kB / 3.587 GB, free: 91.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0291/6.819, allocations: 18.29 MB / 3.605 GB, free: 79.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/6.819, allocations: 37.44 kB / 3.605 GB, free: 79.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 3.066e-06/6.819, allocations: 0 / 3.605 GB, free: 79.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.001434/6.82, allocations: 435.8 kB / 3.605 GB, free: 79.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/6.82, allocations: 110.4 kB / 3.605 GB, free: 79.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/6.821, allocations: 278.5 kB / 3.606 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/6.821, allocations: 29.2 kB / 3.606 GB, free: 79.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/6.821, allocations: 202.4 kB / 3.606 GB, free: 79.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/6.821, allocations: 62.38 kB / 3.606 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/6.821, allocations: 7.281 kB / 3.606 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/6.821, allocations: 340.8 kB / 3.606 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/6.821, allocations: 56.72 kB / 3.606 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/6.821, allocations: 172.5 kB / 3.607 GB, free: 78.65 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/6.822, allocations: 79.38 kB / 3.607 GB, free: 78.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/6.822, allocations: 0.9375 kB / 3.607 GB, free: 78.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004198/6.822, allocations: 271.3 kB / 3.607 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/6.822, allocations: 6.375 kB / 3.607 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/6.822, allocations: 5.125 kB / 3.607 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/6.822, allocations: 6.5 kB / 3.607 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/6.822, allocations: 76.61 kB / 3.607 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/6.822, allocations: 6.719 kB / 3.607 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/6.823, allocations: 48.5 kB / 3.607 GB, free: 78.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/6.823, allocations: 16 kB / 3.607 GB, free: 78.59 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 () * 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 8.111e-05/6.823, allocations: 132 kB / 3.607 GB, free: 78.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/6.823, allocations: 32.23 kB / 3.607 GB, free: 78.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/6.824, allocations: 1.055 MB / 3.608 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/6.824, allocations: 15.59 kB / 3.608 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/6.824, allocations: 0.9375 kB / 3.608 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/6.824, allocations: 7.266 kB / 3.608 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/6.825, allocations: 0.6554 MB / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/6.825, allocations: 0 / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/6.825, allocations: 58.66 kB / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/6.825, allocations: 4.375 kB / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/6.825, allocations: 4.094 kB / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/6.825, allocations: 4.312 kB / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/6.825, allocations: 0 / 3.609 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/6.826, allocations: 0.5551 MB / 3.61 GB, free: 77.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/6.826, allocations: 201.8 kB / 3.61 GB, free: 77.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/6.826, allocations: 5.578 kB / 3.61 GB, free: 77.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/6.826, allocations: 26.55 kB / 3.61 GB, free: 77.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/6.826, allocations: 25.67 kB / 3.61 GB, free: 77.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/6.826, allocations: 9.297 kB / 3.61 GB, free: 77.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003829/6.827, allocations: 337.8 kB / 3.61 GB, free: 77.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/6.827, allocations: 0 / 3.61 GB, free: 77.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004339/6.831, allocations: 0.8896 MB / 3.611 GB, free: 77.68 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 () * 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.005023/6.836, allocations: 1.304 MB / 3.612 GB, free: 77.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000565/6.837, allocations: 273.6 kB / 3.612 GB, free: 77.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/6.837, allocations: 8.25 kB / 3.612 GB, free: 77.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/6.837, allocations: 220.7 kB / 3.613 GB, free: 77.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/6.838, allocations: 170.5 kB / 3.613 GB, free: 77.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/6.839, allocations: 0.7075 MB / 3.614 GB, free: 77.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/6.839, allocations: 0.8871 MB / 3.614 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003811/6.84, allocations: 158.8 kB / 3.615 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/6.84, allocations: 35.31 kB / 3.615 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/6.84, allocations: 1.406 kB / 3.615 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.0376/6.877, allocations: 30.27 MB / 3.644 GB, free: 76.36 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