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.001215/0.001215, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001233/0.001233, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.203/0.203, allocations: 43.54 MB / 314.1 MB, free: 448 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.001387/0.001387, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1065, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03275/0.1393, allocations: 30.08 MB / 0.5168 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2425/0.3818, allocations: 17.58 MB / 0.5339 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.3824, allocations: 8.875 kB / 0.534 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.3832, allocations: 219.4 kB / 0.5342 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.3841, allocations: 280.6 kB / 0.5344 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01976/0.4039, allocations: 6.036 MB / 0.5403 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.4052, allocations: 0.8282 MB / 0.5411 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.4057, allocations: 233.2 kB / 0.5414 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/0.4199, allocations: 5.456 MB / 0.5467 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.4205, allocations: 239 kB / 0.5469 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.4207, allocations: 36.28 kB / 0.5469 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.4347, allocations: 6.32 MB / 0.5531 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.435, allocations: 91.09 kB / 0.5532 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005665/0.4356, allocations: 194.7 kB / 0.5534 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009387/0.445, allocations: 3.842 MB / 0.5571 GB, free: 96 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.445, allocations: 0 / 0.5571 GB, free: 96 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.445, allocations: 0 / 0.5571 GB, free: 96 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.4451, allocations: 4 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.00327/0.4483, allocations: 1.066 MB / 0.5582 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4484, allocations: 13.36 kB / 0.5582 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.405e-05/0.4485, allocations: 62.36 kB / 0.5583 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.4502, allocations: 199 kB / 0.5584 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.4508, allocations: 347.4 kB / 0.5588 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.4508, allocations: 23.28 kB / 0.5588 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.4509, allocations: 29.81 kB / 0.5588 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.4522, allocations: 491.8 kB / 0.5593 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4522, allocations: 7.969 kB / 0.5593 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.4522, allocations: 12.81 kB / 0.5593 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4523, allocations: 7.312 kB / 0.5593 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.4535, allocations: 411.9 kB / 0.5597 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.4566, allocations: 2.427 MB / 0.5621 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.4578, allocations: 335.2 kB / 0.5624 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.4581, allocations: 111 kB / 0.5625 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03388/0.492, allocations: 16.52 MB / 0.5786 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.492, allocations: 36.84 kB / 0.5787 GB, free: 15.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.4921, allocations: 4 kB / 0.5787 GB, free: 15.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002277/0.4943, allocations: 0.5277 MB / 0.5792 GB, free: 15.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.4944, allocations: 109.5 kB / 0.5793 GB, free: 14.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.4948, allocations: 319.9 kB / 0.5796 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.4949, allocations: 29.7 kB / 0.5796 GB, free: 14.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.495, allocations: 204 kB / 0.5798 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.4951, allocations: 58.27 kB / 0.5799 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.4952, allocations: 65.64 kB / 0.58 GB, free: 14.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4953, allocations: 338.8 kB / 0.5803 GB, free: 14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.4956, allocations: 95.92 kB / 0.5804 GB, free: 13.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.496, allocations: 219.1 kB / 0.5806 GB, free: 13.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.4966, allocations: 291.2 kB / 0.5809 GB, free: 13.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4967, allocations: 4 kB / 0.5809 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008193/0.4975, allocations: 343.1 kB / 0.5812 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4975, allocations: 8 kB / 0.5812 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4975, allocations: 4 kB / 0.5812 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4976, allocations: 7.938 kB / 0.5812 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.4979, allocations: 74.33 kB / 0.5813 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.4979, allocations: 7.984 kB / 0.5813 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.4982, allocations: 44.14 kB / 0.5813 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4983, allocations: 16 kB / 0.5813 GB, free: 12.85 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.0001942/0.4985, allocations: 160 kB / 0.5815 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.4986, allocations: 35.77 kB / 0.5815 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.5001, allocations: 1.113 MB / 0.5826 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.5001, allocations: 15.92 kB / 0.5826 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5001, allocations: 0 / 0.5826 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5001, allocations: 7.984 kB / 0.5826 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/0.5009, allocations: 0.6559 MB / 0.5833 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5009, allocations: 3.984 kB / 0.5833 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.5011, allocations: 50.58 kB / 0.5833 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5012, allocations: 0 / 0.5833 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.5012, allocations: 11.94 kB / 0.5833 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5012, allocations: 4 kB / 0.5833 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5012, allocations: 0 / 0.5833 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008515/0.5021, allocations: 0.6264 MB / 0.584 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.5022, allocations: 128.6 kB / 0.5841 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5023, allocations: 35.7 kB / 0.5841 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.5026, allocations: 15.98 kB / 0.5841 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.5026, allocations: 23.97 kB / 0.5841 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.5027, allocations: 4 kB / 0.5842 GB, free: 9.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000355/0.503, allocations: 342.9 kB / 0.5845 GB, free: 9.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.503, allocations: 0 / 0.5845 GB, free: 9.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003248/0.5063, allocations: 0.8577 MB / 0.5853 GB, free: 8.695 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.006612/0.5129, allocations: 2.066 MB / 0.5873 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.5138, allocations: 357.8 kB / 0.5877 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5138, allocations: 0 / 0.5877 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.5142, allocations: 264.1 kB / 0.5879 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.5154, allocations: 189.3 kB / 0.5881 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/0.523, allocations: 4.269 MB / 0.5923 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5234, allocations: 0.8797 MB / 0.5931 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004013/0.5238, allocations: 188.3 kB / 0.5933 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.5241, allocations: 195.3 kB / 0.5935 GB, free: 260 kB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5241, allocations: 0 / 0.5935 GB, free: 260 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0706/0.5947, allocations: 40.35 MB / 0.6329 GB, free: 7.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/10.41, allocations: 3.938 kB / 0.6329 GB, free: 7.875 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