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.001259/0.001258, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.42 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1781, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03674/0.2149, allocations: 31.07 MB / 0.4984 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3602/0.5752, allocations: 18.59 MB / 0.5166 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.5758, allocations: 12.16 kB / 0.5166 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000873/0.5767, allocations: 189.5 kB / 0.5168 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.5775, allocations: 261.6 kB / 0.517 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02077/0.5983, allocations: 4.894 MB / 0.5218 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.6001, allocations: 1.114 MB / 0.5229 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.6005, allocations: 199.6 kB / 0.5231 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.6149, allocations: 5.392 MB / 0.5283 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.6158, allocations: 247.6 kB / 0.5286 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.866e-05/0.6159, allocations: 15.69 kB / 0.5286 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01884/0.6348, allocations: 6.26 MB / 0.5347 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.6351, allocations: 80.16 kB / 0.5348 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.6356, allocations: 173.4 kB / 0.5349 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.6485, allocations: 3.856 MB / 0.5387 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6486, allocations: 0.5 kB / 0.5387 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6486, allocations: 2.219 kB / 0.5387 GB, free: 4.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.6486, allocations: 0 / 0.5387 GB, free: 4.578 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.00267/0.6513, allocations: 1.049 MB / 0.5397 GB, free: 3.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.6513, allocations: 8.469 kB / 0.5397 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.653, allocations: 209.2 kB / 0.5399 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.6533, allocations: 330.3 kB / 0.5403 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.6534, allocations: 32.38 kB / 0.5403 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.6534, allocations: 29.02 kB / 0.5403 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.6545, allocations: 495.7 kB / 0.5408 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6546, allocations: 1.531 kB / 0.5408 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.6546, allocations: 12.34 kB / 0.5408 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.6546, allocations: 7 kB / 0.5408 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6557, allocations: 409.5 kB / 0.5412 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.6583, allocations: 2.422 MB / 0.5436 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.6593, allocations: 331.8 kB / 0.5439 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.6596, allocations: 114.1 kB / 0.544 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03318/0.6928, allocations: 18.3 MB / 0.5619 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.6929, allocations: 42.5 kB / 0.5619 GB, free: 12.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.265e-06/0.6929, allocations: 0 / 0.5619 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002226/0.6951, allocations: 0.5244 MB / 0.5624 GB, free: 12.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.6952, allocations: 102.8 kB / 0.5625 GB, free: 11.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.6957, allocations: 328.4 kB / 0.5628 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.6958, allocations: 33.7 kB / 0.5629 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.696, allocations: 199.6 kB / 0.563 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.696, allocations: 49.62 kB / 0.5631 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.6962, allocations: 65.59 kB / 0.5632 GB, free: 11.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.6964, allocations: 338.8 kB / 0.5635 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.6967, allocations: 95.92 kB / 0.5636 GB, free: 10.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.6971, allocations: 215.3 kB / 0.5638 GB, free: 10.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.6978, allocations: 302.6 kB / 0.5641 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6978, allocations: 0 / 0.5641 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008939/0.6987, allocations: 341.2 kB / 0.5644 GB, free: 9.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6987, allocations: 8.031 kB / 0.5644 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6987, allocations: 4 kB / 0.5644 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.6988, allocations: 11.94 kB / 0.5644 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.6991, allocations: 67.89 kB / 0.5645 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.6991, allocations: 7.984 kB / 0.5645 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.6995, allocations: 43.67 kB / 0.5645 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.6995, allocations: 16 kB / 0.5645 GB, free: 9.777 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.0002095/0.6997, allocations: 161.7 kB / 0.5647 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.6998, allocations: 35.56 kB / 0.5647 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.7015, allocations: 1.117 MB / 0.5658 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.7015, allocations: 15.92 kB / 0.5658 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.7015, allocations: 0 / 0.5658 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.7015, allocations: 7.984 kB / 0.5658 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.7024, allocations: 0.6638 MB / 0.5665 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.7024, allocations: 0 / 0.5665 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.7027, allocations: 43.95 kB / 0.5665 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.7027, allocations: 3.938 kB / 0.5665 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.7027, allocations: 8 kB / 0.5665 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7027, allocations: 7.938 kB / 0.5665 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7027, allocations: 0 / 0.5665 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009533/0.7037, allocations: 0.6132 MB / 0.5671 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.7038, allocations: 136.3 kB / 0.5673 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.7039, allocations: 23.69 kB / 0.5673 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.7042, allocations: 23.92 kB / 0.5673 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7043, allocations: 19.97 kB / 0.5673 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.7043, allocations: 11.98 kB / 0.5674 GB, free: 6.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.7047, allocations: 338.9 kB / 0.5677 GB, free: 6.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7047, allocations: 0 / 0.5677 GB, free: 6.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003538/0.7083, allocations: 0.8549 MB / 0.5685 GB, free: 5.617 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.005846/0.7141, allocations: 1.018 MB / 0.5695 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000868/0.715, allocations: 349.2 kB / 0.5698 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.715, allocations: 0 / 0.5698 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.7154, allocations: 260.5 kB / 0.5701 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7166, allocations: 179.5 kB / 0.5703 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.7185, allocations: 1.233 MB / 0.5715 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.719, allocations: 0.8797 MB / 0.5723 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.7195, allocations: 179.9 kB / 0.5725 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.7196, allocations: 27.44 kB / 0.5725 GB, free: 1.555 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.7196, allocations: 4 kB / 0.5725 GB, free: 1.551 MB / 414.1 MB Notification: Performance of Templates: time 0.0513/0.7709, allocations: 34.24 MB / 0.606 GB, free: 15.38 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