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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 110.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3235, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03112/0.3546, allocations: 30.22 MB / 0.5612 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01883/0.3735, allocations: 17.64 MB / 0.5784 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.374, allocations: 7.938 kB / 0.5784 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.3748, allocations: 222.5 kB / 0.5786 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.3754, allocations: 270.4 kB / 0.5789 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.3902, allocations: 6.046 MB / 0.5848 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3915, allocations: 0.842 MB / 0.5856 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.3921, allocations: 240.7 kB / 0.5858 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.4027, allocations: 5.458 MB / 0.5912 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.4031, allocations: 239 kB / 0.5914 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.4032, allocations: 32 kB / 0.5914 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.4158, allocations: 6.334 MB / 0.5976 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.4161, allocations: 91.61 kB / 0.5977 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.4166, allocations: 187.2 kB / 0.5979 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.428, allocations: 3.856 MB / 0.6016 GB, free: 9.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4281, allocations: 0 / 0.6016 GB, free: 9.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4281, allocations: 0 / 0.6016 GB, free: 9.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.4281, allocations: 4 kB / 0.6016 GB, free: 9.809 MB / 462.1 MB 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.002825/0.4309, allocations: 1.049 MB / 0.6027 GB, free: 8.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.431, allocations: 8.031 kB / 0.6027 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.4327, allocations: 208.2 kB / 0.6029 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4332, allocations: 350.5 kB / 0.6032 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4333, allocations: 24.94 kB / 0.6032 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.4333, allocations: 24.38 kB / 0.6032 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4345, allocations: 494.8 kB / 0.6037 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4346, allocations: 0 / 0.6037 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.4346, allocations: 12 kB / 0.6037 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4346, allocations: 11.98 kB / 0.6037 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4358, allocations: 417.2 kB / 0.6041 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.4387, allocations: 2.411 MB / 0.6065 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.4398, allocations: 322.2 kB / 0.6068 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.4401, allocations: 112.8 kB / 0.6069 GB, free: 4.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03237/0.4725, allocations: 18.38 MB / 0.6249 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4726, allocations: 30.56 kB / 0.6249 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.4726, allocations: 4 kB / 0.6249 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002051/0.4746, allocations: 0.5271 MB / 0.6254 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4747, allocations: 110.8 kB / 0.6255 GB, free: 14.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.475, allocations: 320.4 kB / 0.6258 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.4751, allocations: 25.7 kB / 0.6258 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.4752, allocations: 211.6 kB / 0.626 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.4753, allocations: 47.36 kB / 0.6261 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.4754, allocations: 69.59 kB / 0.6262 GB, free: 13.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4755, allocations: 338.8 kB / 0.6265 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.4758, allocations: 95.92 kB / 0.6266 GB, free: 13.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.4761, allocations: 203.4 kB / 0.6268 GB, free: 13.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.4767, allocations: 301.4 kB / 0.6271 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4767, allocations: 4 kB / 0.6271 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007303/0.4774, allocations: 333.9 kB / 0.6274 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4775, allocations: 8 kB / 0.6274 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4775, allocations: 7.984 kB / 0.6274 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4775, allocations: 11.94 kB / 0.6274 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.4778, allocations: 71.89 kB / 0.6275 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.4778, allocations: 7.938 kB / 0.6275 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.478, allocations: 48.06 kB / 0.6275 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4781, allocations: 12 kB / 0.6275 GB, free: 12.38 MB / 494.1 MB 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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.4782, allocations: 161.7 kB / 0.6277 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.4783, allocations: 35.56 kB / 0.6277 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.4797, allocations: 1.097 MB / 0.6288 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.4797, allocations: 11.92 kB / 0.6288 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4797, allocations: 3.938 kB / 0.6288 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.4798, allocations: 124.4 kB / 0.6289 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.4799, allocations: 27.69 kB / 0.629 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.4801, allocations: 27.95 kB / 0.629 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.4802, allocations: 23.97 kB / 0.629 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008222/0.481, allocations: 0.5902 MB / 0.6296 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008288/0.4819, allocations: 0.6928 MB / 0.6303 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003332/0.4822, allocations: 248.5 kB / 0.6305 GB, free: 9.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.4826, allocations: 350.8 kB / 0.6308 GB, free: 8.941 MB / 494.1 MB Notification: Performance of Backend: time 4.41e-07/0.4826, allocations: 0 / 0.6308 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005222/0.4878, allocations: 1.39 MB / 0.6322 GB, free: 7.555 MB / 494.1 MB Notification: Performance of SimCode: time 0.001636/0.4895, allocations: 1.391 MB / 0.6335 GB, free: 6.117 MB / 494.1 MB Notification: Performance of Templates: time 0.05346/0.5429, allocations: 38.93 MB / 0.6716 GB, free: 15.22 MB / 0.5294 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches