Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001621/0.001621, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.002012/0.002012, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.592/1.592, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 75.88 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1292, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03728/0.1665, allocations: 30.4 MB / 0.5851 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3222/0.4886, allocations: 17.68 MB / 0.6023 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.489, allocations: 13.03 kB / 0.6023 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007589/0.4898, allocations: 224 kB / 0.6026 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.4905, allocations: 278.2 kB / 0.6028 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02087/0.5113, allocations: 6.063 MB / 0.6087 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.513, allocations: 0.8419 MB / 0.6096 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.5135, allocations: 209.9 kB / 0.6098 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/0.5256, allocations: 5.474 MB / 0.6151 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.5262, allocations: 263 kB / 0.6154 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.5263, allocations: 29.75 kB / 0.6154 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.5399, allocations: 6.336 MB / 0.6216 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.5401, allocations: 94.42 kB / 0.6217 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.5404, allocations: 193.3 kB / 0.6219 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.5517, allocations: 3.866 MB / 0.6256 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5517, allocations: 9.578 kB / 0.6256 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5517, allocations: 0 / 0.6256 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.5517, allocations: 0 / 0.6256 GB, free: 14.43 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.00348/0.5552, allocations: 1.065 MB / 0.6267 GB, free: 13.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5553, allocations: 18.59 kB / 0.6267 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.5554, allocations: 63.69 kB / 0.6268 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.5571, allocations: 205.3 kB / 0.627 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.5577, allocations: 348.9 kB / 0.6273 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.5577, allocations: 27.09 kB / 0.6273 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.5578, allocations: 28.72 kB / 0.6273 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.5591, allocations: 489.9 kB / 0.6278 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5591, allocations: 1.312 kB / 0.6278 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.5591, allocations: 11.78 kB / 0.6278 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5592, allocations: 7.219 kB / 0.6278 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.5605, allocations: 408.3 kB / 0.6282 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.564, allocations: 2.437 MB / 0.6306 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.5652, allocations: 312.8 kB / 0.6309 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.5655, allocations: 103.1 kB / 0.631 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03886/0.6044, allocations: 18.39 MB / 0.649 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6044, allocations: 30.56 kB / 0.649 GB, free: 9.172 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.6044, allocations: 0 / 0.649 GB, free: 9.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002274/0.6067, allocations: 0.5256 MB / 0.6495 GB, free: 8.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.6068, allocations: 102.8 kB / 0.6496 GB, free: 8.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.6072, allocations: 324.4 kB / 0.6499 GB, free: 8.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.6072, allocations: 33.7 kB / 0.6499 GB, free: 8.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6074, allocations: 212 kB / 0.6501 GB, free: 7.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.6074, allocations: 53.92 kB / 0.6502 GB, free: 7.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6076, allocations: 69.64 kB / 0.6503 GB, free: 7.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6077, allocations: 334.8 kB / 0.6506 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.608, allocations: 95.92 kB / 0.6507 GB, free: 7.391 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.6084, allocations: 219.2 kB / 0.6509 GB, free: 7.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.6091, allocations: 289.6 kB / 0.6512 GB, free: 6.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.6091, allocations: 4 kB / 0.6512 GB, free: 6.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008682/0.61, allocations: 340.9 kB / 0.6515 GB, free: 6.449 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.61, allocations: 8 kB / 0.6515 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.61, allocations: 4.469 kB / 0.6515 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.6101, allocations: 11.94 kB / 0.6515 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.6104, allocations: 71.89 kB / 0.6516 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6104, allocations: 7.984 kB / 0.6516 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.6106, allocations: 47.66 kB / 0.6516 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.6107, allocations: 19.98 kB / 0.6516 GB, free: 6.281 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.0001845/0.6109, allocations: 159.8 kB / 0.6518 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.611, allocations: 35.8 kB / 0.6518 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.6125, allocations: 1.098 MB / 0.6529 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.6126, allocations: 15.97 kB / 0.6529 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6126, allocations: 8 kB / 0.6529 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6126, allocations: 0 / 0.6529 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007625/0.6133, allocations: 0.6671 MB / 0.6536 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6133, allocations: 0 / 0.6536 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.6136, allocations: 47.89 kB / 0.6536 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6136, allocations: 0 / 0.6536 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6136, allocations: 15.92 kB / 0.6536 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6136, allocations: 0 / 0.6536 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6136, allocations: 0.625 kB / 0.6536 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.6146, allocations: 0.6197 MB / 0.6542 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.6147, allocations: 132.6 kB / 0.6544 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.6148, allocations: 27.72 kB / 0.6544 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.615, allocations: 23.98 kB / 0.6544 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.6151, allocations: 16.91 kB / 0.6544 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.6151, allocations: 11.98 kB / 0.6544 GB, free: 3.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.6156, allocations: 338.9 kB / 0.6548 GB, free: 2.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6156, allocations: 4 kB / 0.6548 GB, free: 2.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003001/0.6186, allocations: 0.8578 MB / 0.6556 GB, free: 2.125 MB / 478.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.006551/0.6251, allocations: 2.071 MB / 0.6576 GB, free: 124 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.6261, allocations: 353.6 kB / 0.658 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6261, allocations: 4 kB / 0.658 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.6265, allocations: 196.5 kB / 0.6582 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6276, allocations: 188.6 kB / 0.6583 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.6363, allocations: 4.289 MB / 0.6625 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.6368, allocations: 0.8835 MB / 0.6634 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.6372, allocations: 186 kB / 0.6636 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.6375, allocations: 191.4 kB / 0.6638 GB, free: 9.676 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6375, allocations: 3.938 kB / 0.6638 GB, free: 9.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08505/0.7226, allocations: 40.5 MB / 0.7033 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.62, allocations: 20.05 kB / 0.7033 GB, free: 1.301 MB / 0.5137 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.350732889957726]