Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.000833, allocations: 99.23 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009523/0.0009524, allocations: 190.5 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2585/0.2585, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 9.031 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03005/0.1853, allocations: 27.94 MB / 499.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02332/0.2086, allocations: 16.36 MB / 0.5038 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/0.2093, allocations: 11.88 kB / 0.5038 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.2101, allocations: 171 kB / 0.504 GB, free: 1.109 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007727/0.2109, allocations: 270.4 kB / 0.5042 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3946/0.6055, allocations: 4.639 MB / 0.5088 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.6077, allocations: 0.953 MB / 0.5097 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005484/0.6082, allocations: 185.5 kB / 0.5099 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02451/0.6328, allocations: 8.932 MB / 0.5186 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.6337, allocations: 230.9 kB / 0.5188 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.811e-05/0.6338, allocations: 12.97 kB / 0.5188 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/0.6522, allocations: 6.01 MB / 0.5247 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.6525, allocations: 71.55 kB / 0.5248 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.6529, allocations: 92.7 kB / 0.5249 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009248/0.6621, allocations: 2.584 MB / 0.5274 GB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6622, allocations: 0 / 0.5274 GB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.6622, allocations: 0 / 0.5274 GB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.6622, allocations: 0 / 0.5274 GB, free: 11.95 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.005168/0.6674, allocations: 0.9811 MB / 0.5283 GB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.6675, allocations: 12.31 kB / 0.5283 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.6698, allocations: 199.3 kB / 0.5285 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.6705, allocations: 326.2 kB / 0.5288 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.6706, allocations: 25.72 kB / 0.5289 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.6707, allocations: 24.36 kB / 0.5289 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.6724, allocations: 0.4945 MB / 0.5294 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.6725, allocations: 1.219 kB / 0.5294 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.6726, allocations: 13.75 kB / 0.5294 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.6726, allocations: 7.438 kB / 0.5294 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6742, allocations: 444 kB / 0.5298 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.6781, allocations: 2.444 MB / 0.5322 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.6796, allocations: 357.6 kB / 0.5326 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.68, allocations: 113.2 kB / 0.5327 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/0.7105, allocations: 16.62 MB / 0.5489 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.7106, allocations: 33.19 kB / 0.5489 GB, free: 6.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 3.476e-06/0.7106, allocations: 0 / 0.5489 GB, free: 6.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.00222/0.7128, allocations: 0.5747 MB / 0.5495 GB, free: 5.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.7129, allocations: 106.8 kB / 0.5496 GB, free: 5.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.7134, allocations: 323.1 kB / 0.5499 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.7135, allocations: 29.58 kB / 0.5499 GB, free: 5.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.7137, allocations: 209.7 kB / 0.5501 GB, free: 5.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.7137, allocations: 43.08 kB / 0.5502 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.7138, allocations: 11.56 kB / 0.5502 GB, free: 5.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.714, allocations: 337.9 kB / 0.5505 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.7142, allocations: 98.94 kB / 0.5506 GB, free: 4.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.7147, allocations: 227.4 kB / 0.5508 GB, free: 4.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.715, allocations: 128.6 kB / 0.5509 GB, free: 4.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.715, allocations: 0 / 0.5509 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007831/0.7158, allocations: 355.1 kB / 0.5513 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.7158, allocations: 4.031 kB / 0.5513 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.7159, allocations: 8 kB / 0.5513 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.7159, allocations: 9.312 kB / 0.5513 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.7162, allocations: 74.55 kB / 0.5514 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.7162, allocations: 8 kB / 0.5514 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.7166, allocations: 61 kB / 0.5514 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.7166, allocations: 18.08 kB / 0.5514 GB, free: 3.922 MB / 398.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.0002262/0.7168, allocations: 156.8 kB / 0.5516 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.7169, allocations: 35.61 kB / 0.5516 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.7185, allocations: 1.141 MB / 0.5527 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.7185, allocations: 15.34 kB / 0.5528 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.7186, allocations: 6.766 kB / 0.5528 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7186, allocations: 5.531 kB / 0.5528 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.7194, allocations: 0.6668 MB / 0.5534 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.7194, allocations: 0 / 0.5534 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.7196, allocations: 55.95 kB / 0.5535 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7197, allocations: 0 / 0.5535 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.7197, allocations: 11.92 kB / 0.5535 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.7197, allocations: 0 / 0.5535 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7197, allocations: 0 / 0.5535 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009676/0.7207, allocations: 0.6402 MB / 0.5541 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.7209, allocations: 202.4 kB / 0.5543 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.721, allocations: 1.531 kB / 0.5543 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.7213, allocations: 26.88 kB / 0.5543 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.7214, allocations: 26.83 kB / 0.5544 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.7214, allocations: 7.062 kB / 0.5544 GB, free: 1.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.7218, allocations: 339.3 kB / 0.5547 GB, free: 1.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7218, allocations: 0 / 0.5547 GB, free: 1.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003717/0.7255, allocations: 0.8505 MB / 0.5555 GB, free: 0.5312 MB / 398.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.006601/0.7322, allocations: 1.001 MB / 0.5565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.7332, allocations: 371.4 kB / 0.5568 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.7333, allocations: 4.75 kB / 0.5568 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.7337, allocations: 265.5 kB / 0.5571 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.735, allocations: 182.9 kB / 0.5573 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.7372, allocations: 1.269 MB / 0.5585 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.7378, allocations: 0.8778 MB / 0.5594 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.7383, allocations: 183.3 kB / 0.5595 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.7384, allocations: 38.67 kB / 0.5596 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7384, allocations: 0 / 0.5596 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Templates: time 0.05754/0.796, allocations: 34.55 MB / 0.5933 GB, free: 10.46 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches