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.001506/0.001506, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001995/0.001995, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2261/0.2261, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.003487/0.003487, allocations: 75.83 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3794, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03494/0.4143, allocations: 27.72 MB / 0.5877 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.4357, allocations: 15.66 MB / 0.603 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.436, allocations: 15.88 kB / 0.603 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.4368, allocations: 202.7 kB / 0.6032 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007061/0.4376, allocations: 278.3 kB / 0.6034 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01726/0.4548, allocations: 6.005 MB / 0.6093 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.4562, allocations: 0.8459 MB / 0.6101 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.4566, allocations: 204.9 kB / 0.6103 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.4678, allocations: 5.485 MB / 0.6157 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.4685, allocations: 239 kB / 0.6159 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.4686, allocations: 28 kB / 0.6159 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/0.4817, allocations: 6.056 MB / 0.6218 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.4819, allocations: 91.67 kB / 0.6219 GB, free: 5.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.4822, allocations: 167.3 kB / 0.6221 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008682/0.4909, allocations: 3.851 MB / 0.6259 GB, free: 1.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4909, allocations: 0 / 0.6259 GB, free: 1.156 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4909, allocations: 0 / 0.6259 GB, free: 1.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4909, allocations: 0 / 0.6259 GB, free: 1.156 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.002509/0.4934, allocations: 1.005 MB / 0.6268 GB, free: 120 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4935, allocations: 12.02 kB / 0.6268 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.4936, allocations: 58.73 kB / 0.6269 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.4952, allocations: 204.5 kB / 0.6271 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.4958, allocations: 292.8 kB / 0.6274 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.4958, allocations: 25.03 kB / 0.6274 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.4958, allocations: 28.12 kB / 0.6274 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.4972, allocations: 0.6273 MB / 0.628 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4973, allocations: 4 kB / 0.628 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.4973, allocations: 12 kB / 0.6281 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.4973, allocations: 4 kB / 0.6281 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.4985, allocations: 417.2 kB / 0.6285 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.5018, allocations: 1.816 MB / 0.6302 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5031, allocations: 334.1 kB / 0.6306 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.5034, allocations: 104.8 kB / 0.6307 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03236/0.5358, allocations: 8.858 MB / 0.6393 GB, free: 3.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.5359, allocations: 34.56 kB / 0.6393 GB, free: 3.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.5359, allocations: 0 / 0.6393 GB, free: 3.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002068/0.5379, allocations: 0.5282 MB / 0.6399 GB, free: 2.559 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.538, allocations: 106.8 kB / 0.64 GB, free: 2.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.5384, allocations: 324.4 kB / 0.6403 GB, free: 2.098 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.5384, allocations: 29.7 kB / 0.6403 GB, free: 2.062 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.5386, allocations: 220 kB / 0.6405 GB, free: 1.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.5386, allocations: 55.59 kB / 0.6406 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.5387, allocations: 65.69 kB / 0.6406 GB, free: 1.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5389, allocations: 338.8 kB / 0.6409 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.5392, allocations: 91.94 kB / 0.641 GB, free: 1.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.5396, allocations: 258.8 kB / 0.6413 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.5403, allocations: 300.2 kB / 0.6416 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5403, allocations: 0 / 0.6416 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008042/0.5411, allocations: 337 kB / 0.6419 GB, free: 300 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5411, allocations: 8.469 kB / 0.6419 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5411, allocations: 7.938 kB / 0.6419 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.5411, allocations: 11.98 kB / 0.6419 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.5414, allocations: 71.89 kB / 0.642 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5414, allocations: 7.938 kB / 0.642 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5417, allocations: 43.72 kB / 0.642 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.5417, allocations: 16 kB / 0.642 GB, free: 132 kB / 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.0001988/0.5419, allocations: 157.7 kB / 0.6422 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.542, allocations: 31.81 kB / 0.6422 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.5436, allocations: 1.164 MB / 0.6434 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5436, allocations: 15.92 kB / 0.6434 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5436, allocations: 0 / 0.6434 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.5436, allocations: 11.92 kB / 0.6434 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.5443, allocations: 0.6047 MB / 0.644 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5443, allocations: 0 / 0.644 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.5446, allocations: 51.95 kB / 0.644 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5446, allocations: 0 / 0.644 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.5446, allocations: 7.938 kB / 0.644 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5446, allocations: 4 kB / 0.644 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5446, allocations: 7.938 kB / 0.644 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.5455, allocations: 0.6352 MB / 0.6447 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.5456, allocations: 63.47 kB / 0.6447 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.5457, allocations: 27.72 kB / 0.6448 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.5459, allocations: 15.98 kB / 0.6448 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.546, allocations: 19.97 kB / 0.6448 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.546, allocations: 11.98 kB / 0.6448 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003969/0.5464, allocations: 342.9 kB / 0.6451 GB, free: 12.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5464, allocations: 0 / 0.6451 GB, free: 12.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002336/0.5487, allocations: 0.8578 MB / 0.646 GB, free: 12.03 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.004468/0.5532, allocations: 2.08 MB / 0.648 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008271/0.554, allocations: 362.7 kB / 0.6483 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.554, allocations: 0 / 0.6483 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.5544, allocations: 204.5 kB / 0.6485 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5554, allocations: 197.8 kB / 0.6487 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/0.5618, allocations: 4.303 MB / 0.6529 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5621, allocations: 280.8 kB / 0.6532 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.5625, allocations: 189.1 kB / 0.6534 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5627, allocations: 191.4 kB / 0.6536 GB, free: 4.035 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5627, allocations: 0 / 0.6536 GB, free: 4.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/0.6456, allocations: 41.64 MB / 0.6942 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.89, allocations: 7.812 kB / 0.6942 GB, free: 10.64 MB / 0.5294 GB " [Timeout remaining time 646] (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: 17.443367261905223]