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.00113/0.00113, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 76.67 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.119, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03073/0.1498, allocations: 30.22 MB / 0.4997 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2341/0.3839, allocations: 17.62 MB / 0.5169 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.3843, allocations: 11.97 kB / 0.5169 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.385, allocations: 219.9 kB / 0.5171 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007225/0.3858, allocations: 269.8 kB / 0.5174 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.4038, allocations: 6.05 MB / 0.5233 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.4051, allocations: 0.8389 MB / 0.5241 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.4056, allocations: 228.3 kB / 0.5243 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/0.4174, allocations: 5.465 MB / 0.5296 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.4179, allocations: 243.4 kB / 0.5299 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.418, allocations: 30.91 kB / 0.5299 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.4298, allocations: 6.329 MB / 0.5361 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.43, allocations: 90.78 kB / 0.5362 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.4303, allocations: 192 kB / 0.5364 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007479/0.4378, allocations: 3.861 MB / 0.5401 GB, free: 4.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4378, allocations: 0 / 0.5401 GB, free: 4.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4378, allocations: 0 / 0.5401 GB, free: 4.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4378, allocations: 3.984 kB / 0.5401 GB, free: 4 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.002096/0.4399, allocations: 1.043 MB / 0.5411 GB, free: 3.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.44, allocations: 13.81 kB / 0.5412 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.4416, allocations: 201.1 kB / 0.5414 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.442, allocations: 346.7 kB / 0.5417 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4421, allocations: 21.06 kB / 0.5417 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4421, allocations: 26.03 kB / 0.5417 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4431, allocations: 0.491 MB / 0.5422 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4431, allocations: 3.938 kB / 0.5422 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.4432, allocations: 10.78 kB / 0.5422 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4432, allocations: 8.062 kB / 0.5422 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.4442, allocations: 404.7 kB / 0.5426 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.4465, allocations: 2.427 MB / 0.545 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4476, allocations: 330.4 kB / 0.5453 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.4478, allocations: 112.2 kB / 0.5454 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03155/0.4794, allocations: 18.38 MB / 0.5634 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4794, allocations: 34.56 kB / 0.5634 GB, free: 11.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.4795, allocations: 4 kB / 0.5634 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001924/0.4814, allocations: 0.5306 MB / 0.5639 GB, free: 11.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.4815, allocations: 106.8 kB / 0.564 GB, free: 11.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.4818, allocations: 328.4 kB / 0.5643 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.4818, allocations: 25.7 kB / 0.5644 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.482, allocations: 207.6 kB / 0.5646 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.482, allocations: 49.72 kB / 0.5646 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.4821, allocations: 65.59 kB / 0.5647 GB, free: 10.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4823, allocations: 346.8 kB / 0.565 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.4826, allocations: 91.92 kB / 0.5651 GB, free: 10.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.4829, allocations: 215.3 kB / 0.5653 GB, free: 9.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.4834, allocations: 297.5 kB / 0.5656 GB, free: 9.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4835, allocations: 0 / 0.5656 GB, free: 9.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007008/0.4842, allocations: 347.3 kB / 0.5659 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4842, allocations: 8 kB / 0.5659 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4842, allocations: 4 kB / 0.5659 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4842, allocations: 7.938 kB / 0.5659 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.4845, allocations: 67.89 kB / 0.566 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4845, allocations: 11.98 kB / 0.566 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.4848, allocations: 47.92 kB / 0.566 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4848, allocations: 12 kB / 0.5661 GB, free: 8.988 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.0001476/0.4849, allocations: 149.8 kB / 0.5662 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.485, allocations: 31.62 kB / 0.5662 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.4864, allocations: 1.109 MB / 0.5673 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4864, allocations: 15.92 kB / 0.5673 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4864, allocations: 0 / 0.5673 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4864, allocations: 3.984 kB / 0.5673 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.4871, allocations: 0.6599 MB / 0.568 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4871, allocations: 7.984 kB / 0.568 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.4873, allocations: 51.95 kB / 0.568 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4873, allocations: 0 / 0.568 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4874, allocations: 4 kB / 0.568 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4874, allocations: 7.938 kB / 0.568 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4874, allocations: 0 / 0.568 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.4882, allocations: 0.616 MB / 0.5686 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4883, allocations: 132.3 kB / 0.5688 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.4884, allocations: 31.67 kB / 0.5688 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4886, allocations: 15.92 kB / 0.5688 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.4887, allocations: 27.91 kB / 0.5688 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4887, allocations: 4 kB / 0.5688 GB, free: 6.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003827/0.4891, allocations: 346.9 kB / 0.5692 GB, free: 5.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4891, allocations: 0 / 0.5692 GB, free: 5.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002332/0.4914, allocations: 0.8433 MB / 0.57 GB, free: 4.852 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.003294/0.4947, allocations: 1.012 MB / 0.571 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.4955, allocations: 351.7 kB / 0.5713 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4955, allocations: 4 kB / 0.5713 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.4959, allocations: 256.5 kB / 0.5716 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.4968, allocations: 189.6 kB / 0.5718 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4981, allocations: 1.021 MB / 0.5727 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4985, allocations: 0.8798 MB / 0.5736 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.4989, allocations: 186.2 kB / 0.5738 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.4989, allocations: 31.44 kB / 0.5738 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.499, allocations: 0 / 0.5738 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Templates: time 0.0446/0.5436, allocations: 34.56 MB / 0.6076 GB, free: 14.48 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 -s gbode -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