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.002294/0.002294, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0028/0.0028, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.432/2.432, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3348/0.3348, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 76.06 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1798, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0491/0.229, allocations: 31.07 MB / 0.499 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3343/0.5633, allocations: 18.59 MB / 0.5172 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005641/0.564, allocations: 10.84 kB / 0.5172 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008339/0.5649, allocations: 193.3 kB / 0.5174 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008008/0.5657, allocations: 258.4 kB / 0.5176 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02107/0.5868, allocations: 4.901 MB / 0.5224 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.5887, allocations: 1.109 MB / 0.5235 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.5891, allocations: 211.1 kB / 0.5237 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/0.6063, allocations: 5.382 MB / 0.529 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008979/0.6073, allocations: 257.6 kB / 0.5292 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.6074, allocations: 15.34 kB / 0.5292 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02008/0.6275, allocations: 6.257 MB / 0.5353 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.6278, allocations: 74.34 kB / 0.5354 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.6282, allocations: 180.8 kB / 0.5356 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.6346, allocations: 2.626 MB / 0.5381 GB, free: 5.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6346, allocations: 0 / 0.5381 GB, free: 5.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.6347, allocations: 0 / 0.5381 GB, free: 5.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.6347, allocations: 0 / 0.5381 GB, free: 5.473 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.003294/0.638, allocations: 1.06 MB / 0.5392 GB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.638, allocations: 7.406 kB / 0.5392 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.6399, allocations: 199.3 kB / 0.5394 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.6404, allocations: 337.1 kB / 0.5397 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.6404, allocations: 29.52 kB / 0.5397 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.6405, allocations: 23.44 kB / 0.5397 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.6418, allocations: 490.3 kB / 0.5402 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.6418, allocations: 1 kB / 0.5402 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.6419, allocations: 13.72 kB / 0.5402 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.6419, allocations: 6 kB / 0.5402 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6431, allocations: 412.1 kB / 0.5406 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.6461, allocations: 2.429 MB / 0.543 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.6477, allocations: 325.6 kB / 0.5433 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.648, allocations: 116.6 kB / 0.5434 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0426/0.6906, allocations: 18.31 MB / 0.5613 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/0.6907, allocations: 30.56 kB / 0.5613 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 4.158e-06/0.6907, allocations: 0 / 0.5613 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.004011/0.6948, allocations: 0.5281 MB / 0.5618 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.695, allocations: 106.8 kB / 0.5619 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.6959, allocations: 336.3 kB / 0.5623 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.6959, allocations: 25.7 kB / 0.5623 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.6962, allocations: 210.7 kB / 0.5625 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.6963, allocations: 47.36 kB / 0.5625 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.6966, allocations: 65.53 kB / 0.5626 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.6968, allocations: 344.2 kB / 0.5629 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.6973, allocations: 91.94 kB / 0.563 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.6981, allocations: 207.4 kB / 0.5632 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6993, allocations: 303.2 kB / 0.5635 GB, free: 11.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.6994, allocations: 4 kB / 0.5635 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001579/0.701, allocations: 333.3 kB / 0.5638 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.701, allocations: 8.031 kB / 0.5638 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.7011, allocations: 8 kB / 0.5638 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.7011, allocations: 7.938 kB / 0.5638 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.7016, allocations: 79.81 kB / 0.5639 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.7017, allocations: 7.938 kB / 0.5639 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.7023, allocations: 43.67 kB / 0.564 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.7024, allocations: 15.98 kB / 0.564 GB, free: 10.98 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.0003326/0.7027, allocations: 153.7 kB / 0.5641 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.7029, allocations: 31.62 kB / 0.5642 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.7055, allocations: 1.113 MB / 0.5652 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/0.7056, allocations: 19.91 kB / 0.5653 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.7056, allocations: 0 / 0.5653 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.7056, allocations: 0 / 0.5653 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.7069, allocations: 0.6702 MB / 0.5659 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7069, allocations: 0 / 0.5659 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.7073, allocations: 47.89 kB / 0.566 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.7073, allocations: 4 kB / 0.566 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.7074, allocations: 4 kB / 0.566 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7074, allocations: 7.938 kB / 0.566 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7074, allocations: 3.938 kB / 0.566 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.709, allocations: 0.616 MB / 0.5666 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.7093, allocations: 132.3 kB / 0.5667 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.7095, allocations: 27.69 kB / 0.5667 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.71, allocations: 19.92 kB / 0.5668 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.7101, allocations: 19.97 kB / 0.5668 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.7101, allocations: 7.984 kB / 0.5668 GB, free: 8.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007029/0.7109, allocations: 350.8 kB / 0.5671 GB, free: 7.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7109, allocations: 0 / 0.5671 GB, free: 7.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005067/0.716, allocations: 0.8471 MB / 0.5679 GB, free: 6.836 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.009142/0.7251, allocations: 1.018 MB / 0.5689 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.7267, allocations: 345.2 kB / 0.5693 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/0.7268, allocations: 4 kB / 0.5693 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007426/0.7275, allocations: 260.5 kB / 0.5695 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.7298, allocations: 173.8 kB / 0.5697 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.7331, allocations: 1.27 MB / 0.5709 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/0.7339, allocations: 0.8797 MB / 0.5718 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.7341, allocations: 35.44 kB / 0.5718 GB, free: 2.891 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7341, allocations: 0 / 0.5718 GB, free: 2.891 MB / 414.1 MB Notification: Performance of Templates: time 0.05908/0.7932, allocations: 20.58 MB / 0.5919 GB, free: 14.34 MB / 446.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/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