Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 113.4 kB / 16.41 MB, free: 6.445 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.001364/0.001364, allocations: 187.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2174/0.2174, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1073, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03846/0.1458, allocations: 30.08 MB / 0.5168 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2385/0.3844, allocations: 17.59 MB / 0.534 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004526/0.3849, allocations: 9.438 kB / 0.534 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.3857, allocations: 212.7 kB / 0.5342 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.3865, allocations: 270 kB / 0.5344 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01764/0.4042, allocations: 6.026 MB / 0.5403 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.4055, allocations: 0.8284 MB / 0.5411 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.4059, allocations: 241.6 kB / 0.5413 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.4192, allocations: 5.443 MB / 0.5467 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.4198, allocations: 241 kB / 0.5469 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/0.4199, allocations: 29.88 kB / 0.5469 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/0.4317, allocations: 6.324 MB / 0.5531 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4319, allocations: 91.89 kB / 0.5532 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.4323, allocations: 193.8 kB / 0.5534 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.4411, allocations: 3.841 MB / 0.5571 GB, free: 92 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4412, allocations: 0 / 0.5571 GB, free: 92 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4412, allocations: 0 / 0.5571 GB, free: 92 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4412, allocations: 1.562 kB / 0.5571 GB, free: 92 kB / 414.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.003191/0.4444, allocations: 1.074 MB / 0.5582 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4444, allocations: 13.48 kB / 0.5582 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.393e-05/0.4445, allocations: 57.36 kB / 0.5582 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.4461, allocations: 196 kB / 0.5584 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.4466, allocations: 354 kB / 0.5588 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.4466, allocations: 24.69 kB / 0.5588 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.4467, allocations: 24.97 kB / 0.5588 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.4479, allocations: 491 kB / 0.5593 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.448, allocations: 3.188 kB / 0.5593 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.448, allocations: 18.53 kB / 0.5593 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.448, allocations: 7.625 kB / 0.5593 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.4493, allocations: 408.6 kB / 0.5597 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.4525, allocations: 2.427 MB / 0.5621 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4537, allocations: 330.8 kB / 0.5624 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.454, allocations: 111.1 kB / 0.5625 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03446/0.4885, allocations: 16.52 MB / 0.5786 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4886, allocations: 30.56 kB / 0.5787 GB, free: 15.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.4886, allocations: 0 / 0.5787 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002043/0.4906, allocations: 0.5325 MB / 0.5792 GB, free: 15.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.4907, allocations: 109.9 kB / 0.5793 GB, free: 14.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.4911, allocations: 323.2 kB / 0.5796 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4911, allocations: 29.7 kB / 0.5796 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4913, allocations: 206.7 kB / 0.5798 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.4914, allocations: 55.53 kB / 0.5799 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4915, allocations: 61.64 kB / 0.5799 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4917, allocations: 338.8 kB / 0.5802 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.4919, allocations: 96.8 kB / 0.5803 GB, free: 13.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.4924, allocations: 220.8 kB / 0.5805 GB, free: 13.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.4931, allocations: 292.8 kB / 0.5808 GB, free: 13.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4931, allocations: 0 / 0.5808 GB, free: 13.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008037/0.4939, allocations: 345.3 kB / 0.5812 GB, free: 13.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4939, allocations: 12.41 kB / 0.5812 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4939, allocations: 11.98 kB / 0.5812 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.494, allocations: 7.938 kB / 0.5812 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.4943, allocations: 75.8 kB / 0.5813 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.4943, allocations: 7.984 kB / 0.5813 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.4946, allocations: 39.77 kB / 0.5813 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.4946, allocations: 16 kB / 0.5813 GB, free: 12.88 MB / 446.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.0001841/0.4948, allocations: 162.2 kB / 0.5815 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.4949, allocations: 31.77 kB / 0.5815 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.4964, allocations: 1.111 MB / 0.5826 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.4965, allocations: 11.98 kB / 0.5826 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4965, allocations: 0 / 0.5826 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4965, allocations: 0 / 0.5826 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.4973, allocations: 0.6615 MB / 0.5832 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4973, allocations: 0 / 0.5832 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.4976, allocations: 54.56 kB / 0.5833 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4976, allocations: 3.938 kB / 0.5833 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4976, allocations: 7.938 kB / 0.5833 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4976, allocations: 8 kB / 0.5833 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4976, allocations: 0 / 0.5833 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009636/0.4986, allocations: 0.6222 MB / 0.5839 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.4987, allocations: 128.6 kB / 0.584 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.4988, allocations: 39.7 kB / 0.5841 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.4991, allocations: 11.98 kB / 0.5841 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.4992, allocations: 19.97 kB / 0.5841 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.4992, allocations: 12 kB / 0.5841 GB, free: 9.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004299/0.4997, allocations: 338.9 kB / 0.5845 GB, free: 9.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4997, allocations: 0 / 0.5845 GB, free: 9.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003265/0.5029, allocations: 0.8538 MB / 0.5853 GB, free: 8.742 MB / 446.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.007023/0.51, allocations: 2.074 MB / 0.5873 GB, free: 6.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009875/0.511, allocations: 355.2 kB / 0.5877 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.511, allocations: 4 kB / 0.5877 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.5114, allocations: 259.4 kB / 0.5879 GB, free: 6.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.5126, allocations: 191.1 kB / 0.5881 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008146/0.5207, allocations: 4.27 MB / 0.5923 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.5213, allocations: 0.8758 MB / 0.5931 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004775/0.5218, allocations: 193.7 kB / 0.5933 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.5221, allocations: 195.4 kB / 0.5935 GB, free: 308 kB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5221, allocations: 3.938 kB / 0.5935 GB, free: 304 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/0.6023, allocations: 40.34 MB / 0.6329 GB, free: 7.934 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.15, allocations: 12 kB / 0.6329 GB, free: 7.922 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches