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.00143/0.00143, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 79.92 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1139, allocations: 62.45 MB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02947/0.1434, allocations: 30.21 MB / 0.4983 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2385/0.382, allocations: 17.62 MB / 0.5155 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.3825, allocations: 8.5 kB / 0.5155 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.3833, allocations: 218 kB / 0.5158 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.3839, allocations: 274.1 kB / 0.516 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01823/0.4022, allocations: 6.061 MB / 0.5219 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.4035, allocations: 0.8452 MB / 0.5228 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.404, allocations: 227.1 kB / 0.523 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.4163, allocations: 5.452 MB / 0.5283 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.4169, allocations: 247.5 kB / 0.5285 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.417, allocations: 30.91 kB / 0.5286 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.429, allocations: 6.19 MB / 0.5346 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.4292, allocations: 95.09 kB / 0.5347 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.4296, allocations: 194.3 kB / 0.5349 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4396, allocations: 3.858 MB / 0.5387 GB, free: 3.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4397, allocations: 0 / 0.5387 GB, free: 3.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4397, allocations: 2.969 kB / 0.5387 GB, free: 3.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.4397, allocations: 0 / 0.5387 GB, free: 3.668 MB / 382.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.002184/0.4419, allocations: 1.039 MB / 0.5397 GB, free: 2.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4419, allocations: 13.41 kB / 0.5397 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.4436, allocations: 206.1 kB / 0.5399 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.4441, allocations: 329.8 kB / 0.5402 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.4441, allocations: 22.34 kB / 0.5402 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.4442, allocations: 26.31 kB / 0.5402 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.4458, allocations: 495.4 kB / 0.5407 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4458, allocations: 6.797 kB / 0.5407 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.4459, allocations: 10.41 kB / 0.5407 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4459, allocations: 6.969 kB / 0.5407 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4469, allocations: 417.4 kB / 0.5411 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.4497, allocations: 2.431 MB / 0.5435 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.4509, allocations: 333.1 kB / 0.5438 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.4512, allocations: 108.7 kB / 0.5439 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03561/0.4868, allocations: 18.31 MB / 0.5618 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4869, allocations: 34.56 kB / 0.5618 GB, free: 11.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.4869, allocations: 0 / 0.5618 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002158/0.4891, allocations: 0.5228 MB / 0.5624 GB, free: 11.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.4892, allocations: 114.7 kB / 0.5625 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.4895, allocations: 316.5 kB / 0.5628 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4896, allocations: 29.7 kB / 0.5628 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4897, allocations: 218.7 kB / 0.563 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.4898, allocations: 43.3 kB / 0.563 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.4899, allocations: 65.59 kB / 0.5631 GB, free: 10.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.49, allocations: 342.8 kB / 0.5634 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.4903, allocations: 87.92 kB / 0.5635 GB, free: 10.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.4906, allocations: 221.9 kB / 0.5637 GB, free: 9.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.4912, allocations: 293.4 kB / 0.564 GB, free: 9.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4913, allocations: 4 kB / 0.564 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007938/0.4921, allocations: 339.4 kB / 0.5643 GB, free: 9.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4921, allocations: 8 kB / 0.5643 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4921, allocations: 4 kB / 0.5644 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4921, allocations: 12.34 kB / 0.5644 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.4924, allocations: 71.89 kB / 0.5644 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4925, allocations: 11.94 kB / 0.5644 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4927, allocations: 47.56 kB / 0.5645 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.4928, allocations: 16 kB / 0.5645 GB, free: 8.973 MB / 414.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.000157/0.4929, allocations: 153.8 kB / 0.5646 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.493, allocations: 27.62 kB / 0.5647 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.4944, allocations: 1.117 MB / 0.5658 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.4945, allocations: 19.91 kB / 0.5658 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4945, allocations: 3.984 kB / 0.5658 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4945, allocations: 3.938 kB / 0.5658 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.4951, allocations: 0.6661 MB / 0.5664 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4952, allocations: 4 kB / 0.5664 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.4954, allocations: 51.94 kB / 0.5665 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4954, allocations: 0 / 0.5665 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4954, allocations: 0 / 0.5665 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4954, allocations: 7.938 kB / 0.5665 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4954, allocations: 0 / 0.5665 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/0.4963, allocations: 0.6199 MB / 0.5671 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.4964, allocations: 132.3 kB / 0.5672 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.4965, allocations: 23.69 kB / 0.5673 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4967, allocations: 23.91 kB / 0.5673 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.4968, allocations: 27.97 kB / 0.5673 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4968, allocations: 4 kB / 0.5673 GB, free: 6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.4972, allocations: 342.9 kB / 0.5676 GB, free: 5.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4972, allocations: 0 / 0.5676 GB, free: 5.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002602/0.4998, allocations: 0.8433 MB / 0.5685 GB, free: 4.824 MB / 414.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003532/0.5033, allocations: 1.012 MB / 0.5695 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009328/0.5043, allocations: 367.1 kB / 0.5698 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5043, allocations: 3.938 kB / 0.5698 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.5046, allocations: 252.5 kB / 0.57 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5057, allocations: 183.9 kB / 0.5702 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5072, allocations: 1.027 MB / 0.5712 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.5077, allocations: 0.8837 MB / 0.5721 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.5081, allocations: 185.4 kB / 0.5723 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.5081, allocations: 35.44 kB / 0.5723 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5082, allocations: 0 / 0.5723 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of Templates: time 0.04599/0.5541, allocations: 34.67 MB / 0.6062 GB, free: 14.34 MB / 462.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches