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.000904/0.000904, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009295/0.0009295, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9141/0.9141, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2382/0.2382, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 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 2.154e-06/2.154e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.944e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2097/0.2098, allocations: 27.55 MB / 469.7 MB, free: 27.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2205, allocations: 15.64 MB / 485.4 MB, free: 16.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.2208, allocations: 13.41 kB / 485.4 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.2216, allocations: 203.9 kB / 485.6 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.2221, allocations: 287.7 kB / 485.9 MB, free: 16.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.2346, allocations: 6.099 MB / 492 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.2353, allocations: 0.8421 MB / 492.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.2356, allocations: 201.4 kB / 493 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007751/0.2433, allocations: 5.592 MB / 498.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.2436, allocations: 216.8 kB / 498.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.2437, allocations: 30.12 kB / 498.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.2547, allocations: 6.071 MB / 0.4931 GB, free: 9.293 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.2549, allocations: 103.1 kB / 0.4932 GB, free: 9.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2551, allocations: 137.7 kB / 0.4933 GB, free: 9.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007922/0.263, allocations: 4.846 MB / 0.498 GB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.263, allocations: 1.5 kB / 0.498 GB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.263, allocations: 0 / 0.498 GB, free: 6.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.263, allocations: 0 / 0.498 GB, free: 6.988 MB / 410.7 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.002336/0.2653, allocations: 0.9964 MB / 0.499 GB, free: 6.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2654, allocations: 13.75 kB / 0.499 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.2654, allocations: 61.73 kB / 0.4991 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/0.2664, allocations: 202.4 kB / 0.4993 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.2668, allocations: 295.9 kB / 0.4996 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.2668, allocations: 21.28 kB / 0.4996 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.2669, allocations: 24.22 kB / 0.4996 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.2676, allocations: 0.63 MB / 0.5002 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2676, allocations: 9.25 kB / 0.5002 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2676, allocations: 16.12 kB / 0.5002 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2676, allocations: 7.562 kB / 0.5002 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.2683, allocations: 404.5 kB / 0.5006 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2699, allocations: 1.811 MB / 0.5024 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.2706, allocations: 316.3 kB / 0.5027 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.2707, allocations: 103.7 kB / 0.5028 GB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/0.2871, allocations: 8.871 MB / 0.5115 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.2871, allocations: 40.91 kB / 0.5115 GB, free: 15.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.845e-06/0.2871, allocations: 3.938 kB / 0.5115 GB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001558/0.2887, allocations: 0.5282 MB / 0.512 GB, free: 14.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.2887, allocations: 110.8 kB / 0.5121 GB, free: 14.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.289, allocations: 324.4 kB / 0.5124 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2891, allocations: 33.7 kB / 0.5125 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2892, allocations: 208.1 kB / 0.5127 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.2892, allocations: 43.64 kB / 0.5127 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.2893, allocations: 69.64 kB / 0.5128 GB, free: 13.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2894, allocations: 338.8 kB / 0.5131 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2895, allocations: 91.92 kB / 0.5132 GB, free: 13.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2897, allocations: 258.8 kB / 0.5134 GB, free: 12.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2901, allocations: 299.9 kB / 0.5137 GB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2901, allocations: 0 / 0.5137 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004504/0.2905, allocations: 337 kB / 0.514 GB, free: 12.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2906, allocations: 8 kB / 0.514 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2906, allocations: 4 kB / 0.514 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2906, allocations: 4.469 kB / 0.5141 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2907, allocations: 79.83 kB / 0.5141 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2907, allocations: 11.92 kB / 0.5141 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2909, allocations: 43.72 kB / 0.5142 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2909, allocations: 19.69 kB / 0.5142 GB, free: 12.12 MB / 426.7 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.0001222/0.2911, allocations: 159.7 kB / 0.5144 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.2911, allocations: 31.81 kB / 0.5144 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/0.292, allocations: 1.176 MB / 0.5155 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.292, allocations: 11.98 kB / 0.5155 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.292, allocations: 3.938 kB / 0.5155 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.292, allocations: 3.938 kB / 0.5155 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.2924, allocations: 0.6206 MB / 0.5162 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2924, allocations: 0 / 0.5162 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2926, allocations: 51.94 kB / 0.5162 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2926, allocations: 0 / 0.5162 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2926, allocations: 4 kB / 0.5162 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2926, allocations: 4 kB / 0.5162 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2926, allocations: 3.938 kB / 0.5162 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.2931, allocations: 0.6443 MB / 0.5168 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.2931, allocations: 47.59 kB / 0.5169 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.2932, allocations: 31.73 kB / 0.5169 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2933, allocations: 15.97 kB / 0.5169 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.2933, allocations: 23.91 kB / 0.517 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2933, allocations: 7.984 kB / 0.517 GB, free: 9.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.2936, allocations: 346.9 kB / 0.5173 GB, free: 8.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2936, allocations: 0 / 0.5173 GB, free: 8.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002767/0.2964, allocations: 0.8616 MB / 0.5181 GB, free: 8.008 MB / 426.7 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.003816/0.3002, allocations: 2.193 MB / 0.5203 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.3007, allocations: 357 kB / 0.5206 GB, free: 5.445 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3007, allocations: 0 / 0.5206 GB, free: 5.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3009, allocations: 216.4 kB / 0.5208 GB, free: 5.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.3015, allocations: 195.7 kB / 0.521 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.306, allocations: 4.287 MB / 0.5252 GB, free: 0.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3062, allocations: 276.8 kB / 0.5255 GB, free: 288 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000256/0.3064, allocations: 187.9 kB / 0.5256 GB, free: 104 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.3066, allocations: 192.5 kB / 0.5258 GB, free: 15.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3066, allocations: 4 kB / 0.5258 GB, free: 15.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.3658, allocations: 41.83 MB / 0.5667 GB, free: 6.328 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.699/9.065, allocations: 3.188 kB / 0.5667 GB, free: 6.328 MB / 474.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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.000201597 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/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] "Error: Could not read variable specificEntropy.s in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.480748514644802]