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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 208.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.246/0.246, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.88 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3517, allocations: 65.47 MB / 0.557 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03555/0.3873, allocations: 27.73 MB / 0.584 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02422/0.4115, allocations: 15.68 MB / 0.5993 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.412, allocations: 11.88 kB / 0.5994 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.4129, allocations: 206.6 kB / 0.5995 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008308/0.4137, allocations: 282.4 kB / 0.5998 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01852/0.4322, allocations: 5.994 MB / 0.6057 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.4336, allocations: 0.8459 MB / 0.6065 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.4339, allocations: 204.9 kB / 0.6067 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/0.4469, allocations: 5.482 MB / 0.612 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.4476, allocations: 246.9 kB / 0.6123 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.4476, allocations: 32 kB / 0.6123 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/0.461, allocations: 6.052 MB / 0.6182 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.4612, allocations: 95.66 kB / 0.6183 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.4615, allocations: 159.4 kB / 0.6185 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009104/0.4706, allocations: 3.858 MB / 0.6222 GB, free: 4.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4706, allocations: 0 / 0.6222 GB, free: 4.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4706, allocations: 0 / 0.6222 GB, free: 4.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.4706, allocations: 4 kB / 0.6222 GB, free: 4.469 MB / 462.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.002601/0.4732, allocations: 0.9935 MB / 0.6232 GB, free: 3.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4733, allocations: 8.031 kB / 0.6232 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.319e-05/0.4734, allocations: 70.66 kB / 0.6233 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.4751, allocations: 212.4 kB / 0.6235 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.4756, allocations: 277 kB / 0.6237 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.4757, allocations: 21.03 kB / 0.6238 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.4757, allocations: 28.12 kB / 0.6238 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.4771, allocations: 0.6389 MB / 0.6244 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4771, allocations: 0 / 0.6244 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.4771, allocations: 15.98 kB / 0.6244 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.4771, allocations: 8 kB / 0.6244 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.4784, allocations: 405.2 kB / 0.6248 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.4815, allocations: 1.824 MB / 0.6266 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.4828, allocations: 318.2 kB / 0.6269 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.4831, allocations: 108.8 kB / 0.627 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03343/0.5165, allocations: 8.859 MB / 0.6357 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.5166, allocations: 42.44 kB / 0.6357 GB, free: 6.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.5166, allocations: 0 / 0.6357 GB, free: 6.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002169/0.5187, allocations: 0.5166 MB / 0.6362 GB, free: 5.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.5188, allocations: 110.8 kB / 0.6363 GB, free: 5.754 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.5192, allocations: 328.4 kB / 0.6366 GB, free: 5.418 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.5193, allocations: 33.64 kB / 0.6367 GB, free: 5.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.5195, allocations: 216 kB / 0.6369 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.5195, allocations: 47.59 kB / 0.6369 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5196, allocations: 65.69 kB / 0.637 GB, free: 5.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5198, allocations: 342.8 kB / 0.6373 GB, free: 4.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.5201, allocations: 87.92 kB / 0.6374 GB, free: 4.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.5205, allocations: 266.7 kB / 0.6376 GB, free: 4.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.5212, allocations: 292.6 kB / 0.6379 GB, free: 3.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5212, allocations: 8 kB / 0.6379 GB, free: 3.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008296/0.522, allocations: 337.1 kB / 0.6383 GB, free: 3.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.522, allocations: 10.97 kB / 0.6383 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5221, allocations: 11.94 kB / 0.6383 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5221, allocations: 4 kB / 0.6383 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.5224, allocations: 71.89 kB / 0.6383 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5224, allocations: 4 kB / 0.6384 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.5226, allocations: 51.98 kB / 0.6384 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5227, allocations: 16 kB / 0.6384 GB, free: 3.449 MB / 478.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.0001916/0.5229, allocations: 161.6 kB / 0.6386 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.5229, allocations: 31.81 kB / 0.6386 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.5246, allocations: 1.164 MB / 0.6397 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.5246, allocations: 15.97 kB / 0.6398 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5246, allocations: 0 / 0.6398 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5246, allocations: 4 kB / 0.6398 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.5254, allocations: 0.6086 MB / 0.6403 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5254, allocations: 3.938 kB / 0.6404 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.5256, allocations: 51.83 kB / 0.6404 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5256, allocations: 4 kB / 0.6404 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.5257, allocations: 15.92 kB / 0.6404 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5257, allocations: 0 / 0.6404 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5257, allocations: 0 / 0.6404 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.5267, allocations: 0.6391 MB / 0.641 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.5268, allocations: 51.48 kB / 0.6411 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.5269, allocations: 35.72 kB / 0.6411 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.5271, allocations: 15.98 kB / 0.6411 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.5272, allocations: 19.95 kB / 0.6412 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.5272, allocations: 8 kB / 0.6412 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.5276, allocations: 346.8 kB / 0.6415 GB, free: 212 kB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5276, allocations: 0 / 0.6415 GB, free: 212 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002421/0.53, allocations: 0.8578 MB / 0.6423 GB, free: 15.35 MB / 494.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.005151/0.5352, allocations: 2.081 MB / 0.6444 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.5361, allocations: 352.2 kB / 0.6447 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5361, allocations: 4.875 kB / 0.6447 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.5365, allocations: 216.5 kB / 0.6449 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.5376, allocations: 194.1 kB / 0.6451 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008448/0.5461, allocations: 4.304 MB / 0.6493 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5464, allocations: 272.8 kB / 0.6496 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.5469, allocations: 187 kB / 0.6497 GB, free: 7.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.5472, allocations: 191.4 kB / 0.6499 GB, free: 7.352 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5472, allocations: 0 / 0.6499 GB, free: 7.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/0.6343, allocations: 41.65 MB / 0.6906 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.83, allocations: 7.859 kB / 0.6906 GB, free: 13.95 MB / 0.5294 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.356093909125775]