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.001168/0.001168, allocations: 114.7 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.001165/0.001165, allocations: 200.6 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.396/1.396, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 75.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1396, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03169/0.1713, allocations: 30.21 MB / 0.4997 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2643/0.4357, allocations: 17.62 MB / 0.5169 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.4361, allocations: 10.19 kB / 0.5169 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.4369, allocations: 217.3 kB / 0.5171 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007126/0.4376, allocations: 275.2 kB / 0.5174 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01859/0.4562, allocations: 6.056 MB / 0.5233 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.4576, allocations: 0.8354 MB / 0.5241 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.458, allocations: 232.3 kB / 0.5243 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.4707, allocations: 5.457 MB / 0.5296 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.4714, allocations: 250.2 kB / 0.5299 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.4714, allocations: 30.12 kB / 0.5299 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.4851, allocations: 6.33 MB / 0.5361 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.4853, allocations: 95.58 kB / 0.5362 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.4858, allocations: 190.2 kB / 0.5364 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.4973, allocations: 3.853 MB / 0.5401 GB, free: 3.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4973, allocations: 0 / 0.5401 GB, free: 3.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4973, allocations: 0 / 0.5401 GB, free: 3.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.4974, allocations: 0 / 0.5401 GB, free: 3.98 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.002385/0.4998, allocations: 1.051 MB / 0.5412 GB, free: 3.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4998, allocations: 8.938 kB / 0.5412 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.5014, allocations: 203.4 kB / 0.5414 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.5019, allocations: 355.5 kB / 0.5417 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.5019, allocations: 22.62 kB / 0.5417 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.5019, allocations: 24.47 kB / 0.5417 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.5029, allocations: 488.6 kB / 0.5422 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.503, allocations: 7.938 kB / 0.5422 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.503, allocations: 13.31 kB / 0.5422 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.503, allocations: 7.688 kB / 0.5422 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.504, allocations: 408.8 kB / 0.5426 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.5064, allocations: 2.421 MB / 0.545 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.5075, allocations: 331.8 kB / 0.5453 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.5077, allocations: 116.1 kB / 0.5454 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03272/0.5405, allocations: 18.37 MB / 0.5634 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.5406, allocations: 38.56 kB / 0.5634 GB, free: 11.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.295e-06/0.5406, allocations: 0 / 0.5634 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002083/0.5427, allocations: 0.5349 MB / 0.5639 GB, free: 11.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.5428, allocations: 110.8 kB / 0.564 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.5432, allocations: 320.5 kB / 0.5643 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5432, allocations: 29.7 kB / 0.5643 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5433, allocations: 208.1 kB / 0.5645 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.5434, allocations: 51.28 kB / 0.5646 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.5435, allocations: 61.61 kB / 0.5647 GB, free: 10.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5437, allocations: 342.8 kB / 0.565 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.5439, allocations: 95.88 kB / 0.5651 GB, free: 10.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.5443, allocations: 211.4 kB / 0.5653 GB, free: 9.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.5448, allocations: 301.4 kB / 0.5656 GB, free: 9.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5449, allocations: 4 kB / 0.5656 GB, free: 9.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006839/0.5455, allocations: 335.4 kB / 0.5659 GB, free: 9.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5456, allocations: 4 kB / 0.5659 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5456, allocations: 4 kB / 0.5659 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5456, allocations: 15.92 kB / 0.5659 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.5459, allocations: 67.89 kB / 0.566 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.5459, allocations: 11.94 kB / 0.566 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.5462, allocations: 47.77 kB / 0.566 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.5462, allocations: 20 kB / 0.5661 GB, free: 8.961 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.0001625/0.5464, allocations: 149.8 kB / 0.5662 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.5465, allocations: 31.62 kB / 0.5662 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.5478, allocations: 1.109 MB / 0.5673 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.5479, allocations: 19.86 kB / 0.5673 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5479, allocations: 0 / 0.5673 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5479, allocations: 3.984 kB / 0.5673 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.5486, allocations: 0.6658 MB / 0.568 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5486, allocations: 0 / 0.568 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.5488, allocations: 55.95 kB / 0.568 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5488, allocations: 0 / 0.568 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5488, allocations: 1.078 kB / 0.568 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5488, allocations: 3.938 kB / 0.568 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5488, allocations: 4 kB / 0.568 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.5497, allocations: 0.6199 MB / 0.5686 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.5498, allocations: 136.2 kB / 0.5688 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.5499, allocations: 23.69 kB / 0.5688 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5501, allocations: 19.92 kB / 0.5688 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.5501, allocations: 19.97 kB / 0.5688 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.5502, allocations: 11.94 kB / 0.5688 GB, free: 6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.5505, allocations: 342.8 kB / 0.5692 GB, free: 5.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5505, allocations: 4 kB / 0.5692 GB, free: 5.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002753/0.5533, allocations: 0.8433 MB / 0.57 GB, free: 4.82 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.00357/0.5569, allocations: 1.007 MB / 0.571 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.5577, allocations: 347.7 kB / 0.5713 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5577, allocations: 4 kB / 0.5713 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.5581, allocations: 256.5 kB / 0.5716 GB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009258/0.559, allocations: 202 kB / 0.5718 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.5604, allocations: 1.013 MB / 0.5727 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.5609, allocations: 0.8759 MB / 0.5736 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.5613, allocations: 183 kB / 0.5738 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.5614, allocations: 39.42 kB / 0.5738 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5614, allocations: 0 / 0.5738 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of Templates: time 0.04451/0.6059, allocations: 34.56 MB / 0.6076 GB, free: 14.46 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 cvode -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