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.001035/0.001035, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001088/0.001088, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.1 MB, free: 12.31 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.2201/0.2201, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001641/0.001642, allocations: 70.2 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09711, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02706/0.1242, allocations: 30.08 MB / 470.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.1435, allocations: 17.6 MB / 488.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.1439, allocations: 7.938 kB / 488.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006935/0.1446, allocations: 222.6 kB / 488.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.1452, allocations: 262.4 kB / 488.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01534/0.1606, allocations: 6.028 MB / 494.8 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000984/0.1616, allocations: 0.8342 MB / 495.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.162, allocations: 236.8 kB / 495.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.1739, allocations: 5.431 MB / 0.4896 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.1744, allocations: 243 kB / 0.4898 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.1745, allocations: 32 kB / 0.4898 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/0.1883, allocations: 6.177 MB / 0.4959 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1886, allocations: 91.67 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.1889, allocations: 187.1 kB / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008048/0.197, allocations: 3.84 MB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.197, allocations: 4 kB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.197, allocations: 3.938 kB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.197, allocations: 0 / 0.4999 GB, free: 15.27 MB / 398.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.002479/0.1995, allocations: 1.041 MB / 0.5009 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.1996, allocations: 11.89 kB / 0.5009 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.95e-05/0.1997, allocations: 62.72 kB / 0.501 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.2017, allocations: 188.4 kB / 0.5012 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.2021, allocations: 334.5 kB / 0.5015 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2022, allocations: 20.94 kB / 0.5015 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.2022, allocations: 36.11 kB / 0.5015 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2034, allocations: 486.9 kB / 0.502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2035, allocations: 0 / 0.502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.2035, allocations: 12 kB / 0.502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2035, allocations: 8 kB / 0.502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.2047, allocations: 413.2 kB / 0.5024 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.2077, allocations: 2.43 MB / 0.5048 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2088, allocations: 330.3 kB / 0.5051 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.2091, allocations: 116.7 kB / 0.5052 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03051/0.2396, allocations: 16.46 MB / 0.5213 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2397, allocations: 38.56 kB / 0.5213 GB, free: 6.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.2397, allocations: 0 / 0.5213 GB, free: 6.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001868/0.2416, allocations: 0.5283 MB / 0.5218 GB, free: 6.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.2416, allocations: 102.8 kB / 0.5219 GB, free: 6.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.2419, allocations: 324.4 kB / 0.5222 GB, free: 5.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.242, allocations: 29.7 kB / 0.5223 GB, free: 5.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2421, allocations: 207.6 kB / 0.5225 GB, free: 5.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.2421, allocations: 47.27 kB / 0.5225 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.2422, allocations: 65.62 kB / 0.5226 GB, free: 5.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2423, allocations: 338.8 kB / 0.5229 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2426, allocations: 95.92 kB / 0.523 GB, free: 5.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2429, allocations: 207.4 kB / 0.5232 GB, free: 4.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.2435, allocations: 300.7 kB / 0.5235 GB, free: 4.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2435, allocations: 0 / 0.5235 GB, free: 4.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006921/0.2442, allocations: 341.2 kB / 0.5238 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2442, allocations: 8 kB / 0.5238 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2443, allocations: 7.938 kB / 0.5238 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2443, allocations: 4 kB / 0.5238 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.2445, allocations: 67.89 kB / 0.5239 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.2446, allocations: 11.94 kB / 0.5239 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.2448, allocations: 39.67 kB / 0.5239 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2448, allocations: 24.11 kB / 0.524 GB, free: 4.078 MB / 414.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.0001368/0.245, allocations: 153.7 kB / 0.5241 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.245, allocations: 31.62 kB / 0.5241 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.2463, allocations: 1.125 MB / 0.5252 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.2464, allocations: 15.97 kB / 0.5252 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2464, allocations: 0 / 0.5252 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2464, allocations: 0 / 0.5252 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.247, allocations: 0.6715 MB / 0.5259 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.247, allocations: 0 / 0.5259 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2472, allocations: 51.89 kB / 0.5259 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2472, allocations: 0 / 0.5259 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2472, allocations: 7.938 kB / 0.526 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2472, allocations: 4 kB / 0.526 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2473, allocations: 7.984 kB / 0.526 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.248, allocations: 0.6115 MB / 0.5266 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.2481, allocations: 132.3 kB / 0.5267 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.2482, allocations: 27.69 kB / 0.5267 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2484, allocations: 11.98 kB / 0.5267 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.2485, allocations: 19.97 kB / 0.5267 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2485, allocations: 15.98 kB / 0.5268 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.2488, allocations: 342.8 kB / 0.5271 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2489, allocations: 0 / 0.5271 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.2111/0.4599, allocations: 0.8393 MB / 0.5279 GB, free: 94.73 MB / 414.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.005572/0.4655, allocations: 2.058 MB / 0.5299 GB, free: 94.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.4665, allocations: 367.7 kB / 0.5303 GB, free: 94.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4665, allocations: 0 / 0.5303 GB, free: 94.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.4669, allocations: 259.4 kB / 0.5305 GB, free: 94.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4679, allocations: 197.4 kB / 0.5307 GB, free: 94.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.4746, allocations: 4.308 MB / 0.5349 GB, free: 92.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.4751, allocations: 0.8763 MB / 0.5358 GB, free: 91.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000567/0.4756, allocations: 186.5 kB / 0.5359 GB, free: 91.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.4759, allocations: 199.5 kB / 0.5361 GB, free: 91.53 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4759, allocations: 0 / 0.5361 GB, free: 91.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07851/0.5544, allocations: 40.32 MB / 0.5755 GB, free: 59.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.391/9.946, allocations: 16 kB / 0.5755 GB, free: 59.45 MB / 414.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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