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.001305/0.001306, allocations: 99.02 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001437, allocations: 206 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2524/0.2524, allocations: 45.91 MB / 344 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 11.98 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 63.46 MB / 481.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02863/0.2016, allocations: 25.48 MB / 0.495 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3541/0.5558, allocations: 14.91 MB / 0.5096 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.5563, allocations: 10.41 kB / 0.5096 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007858/0.5571, allocations: 175.7 kB / 0.5097 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.5578, allocations: 227 kB / 0.5099 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01902/0.5768, allocations: 4.737 MB / 0.5146 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.5783, allocations: 498.2 kB / 0.515 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005538/0.5788, allocations: 189.1 kB / 0.5152 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02091/0.5997, allocations: 8.84 MB / 0.5239 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.6005, allocations: 173.3 kB / 0.524 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.6006, allocations: 17.06 kB / 0.524 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/0.618, allocations: 6.176 MB / 0.5301 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.6183, allocations: 66.33 kB / 0.5301 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.6186, allocations: 93.36 kB / 0.5302 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007651/0.6263, allocations: 2.584 MB / 0.5328 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6263, allocations: 2.125 kB / 0.5328 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6263, allocations: 0 / 0.5328 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.6263, allocations: 4 kB / 0.5328 GB, free: 10.07 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.003359/0.6297, allocations: 0.9775 MB / 0.5337 GB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6298, allocations: 12.12 kB / 0.5337 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.6314, allocations: 211.3 kB / 0.5339 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.6319, allocations: 328.2 kB / 0.5342 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6319, allocations: 23.53 kB / 0.5343 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.6319, allocations: 24.03 kB / 0.5343 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.6331, allocations: 0.4976 MB / 0.5348 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6331, allocations: 2.656 kB / 0.5348 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.6332, allocations: 9.031 kB / 0.5348 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6332, allocations: 13.53 kB / 0.5348 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.6343, allocations: 436.9 kB / 0.5352 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.637, allocations: 2.448 MB / 0.5376 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.6381, allocations: 361.5 kB / 0.5379 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03512/0.6732, allocations: 18.45 MB / 0.556 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.6733, allocations: 45.73 kB / 0.556 GB, free: 1.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.6733, allocations: 0 / 0.556 GB, free: 1.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002141/0.6755, allocations: 0.5622 MB / 0.5566 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.6756, allocations: 110.8 kB / 0.5567 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.676, allocations: 315.7 kB / 0.557 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.676, allocations: 29.7 kB / 0.557 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.6762, allocations: 213.4 kB / 0.5572 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.6762, allocations: 45.12 kB / 0.5572 GB, free: 316 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.6763, allocations: 9.188 kB / 0.5572 GB, free: 312 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6764, allocations: 337.4 kB / 0.5576 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.6767, allocations: 106.3 kB / 0.5577 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.6771, allocations: 220.9 kB / 0.5579 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.6774, allocations: 135.3 kB / 0.558 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6774, allocations: 0 / 0.558 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007541/0.6782, allocations: 352.8 kB / 0.5583 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.6782, allocations: 7.984 kB / 0.5584 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.6782, allocations: 7.953 kB / 0.5584 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.6783, allocations: 9.75 kB / 0.5584 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.6786, allocations: 69.23 kB / 0.5584 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6786, allocations: 10.97 kB / 0.5584 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.6789, allocations: 56.2 kB / 0.5585 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.6789, allocations: 18.23 kB / 0.5585 GB, free: 15.14 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_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 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 0.0001845/0.6791, allocations: 153.3 kB / 0.5587 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.6792, allocations: 31.62 kB / 0.5587 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.6808, allocations: 1.145 MB / 0.5598 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.6809, allocations: 14.78 kB / 0.5598 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6809, allocations: 6.469 kB / 0.5598 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6809, allocations: 0 / 0.5598 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/0.6817, allocations: 0.6675 MB / 0.5605 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6817, allocations: 5.531 kB / 0.5605 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.682, allocations: 54.02 kB / 0.5605 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.682, allocations: 7.953 kB / 0.5605 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.682, allocations: 6.938 kB / 0.5606 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.682, allocations: 3.984 kB / 0.5606 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.682, allocations: 0 / 0.5606 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.6829, allocations: 0.637 MB / 0.5612 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6831, allocations: 205.2 kB / 0.5614 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.6832, allocations: 2.375 kB / 0.5614 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.6834, allocations: 26.23 kB / 0.5614 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.6835, allocations: 24.2 kB / 0.5614 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.6836, allocations: 11.92 kB / 0.5614 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004364/0.684, allocations: 332.9 kB / 0.5618 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.684, allocations: 0 / 0.5618 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003696/0.6877, allocations: 0.8554 MB / 0.5626 GB, free: 11.74 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 (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.005389/0.6931, allocations: 1.005 MB / 0.5636 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.6942, allocations: 373.1 kB / 0.5639 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.6942, allocations: 4 kB / 0.5639 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.6947, allocations: 260.4 kB / 0.5642 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6959, allocations: 182.9 kB / 0.5644 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.6979, allocations: 1.263 MB / 0.5656 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.6987, allocations: 0.8947 MB / 0.5665 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.6991, allocations: 185.1 kB / 0.5666 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.6992, allocations: 38.67 kB / 0.5667 GB, free: 8 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6992, allocations: 0 / 0.5667 GB, free: 8 MB / 414.1 MB Notification: Performance of Templates: time 0.05508/0.7542, allocations: 34.6 MB / 0.6005 GB, free: 5.57 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/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