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.0009087/0.0009087, allocations: 79.7 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.001387/0.001387, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9021/0.9021, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2541/0.2541, allocations: 32.78 MB / 293.5 MB, free: 1.234 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.171e-05, allocations: 6.281 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2064/0.2065, allocations: 27.55 MB / 467.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2176, allocations: 15.65 MB / 482.8 MB, free: 19.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.218, allocations: 14.34 kB / 482.8 MB, free: 19.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.2186, allocations: 205.5 kB / 483 MB, free: 19.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000514/0.2191, allocations: 294.1 kB / 483.3 MB, free: 19.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.2317, allocations: 6.079 MB / 489.4 MB, free: 16.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2328, allocations: 0.8507 MB / 490.2 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.2332, allocations: 202 kB / 490.4 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00727/0.2404, allocations: 5.59 MB / 496 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.2409, allocations: 216 kB / 496.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.241, allocations: 31.19 kB / 496.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009581/0.2505, allocations: 6.075 MB / 0.4905 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.2507, allocations: 94.7 kB / 0.4906 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.251, allocations: 137.7 kB / 0.4908 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.2622, allocations: 4.852 MB / 0.4955 GB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2622, allocations: 0 / 0.4955 GB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2622, allocations: 1.5 kB / 0.4955 GB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2622, allocations: 0 / 0.4955 GB, free: 10.38 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.003661/0.2658, allocations: 0.9963 MB / 0.4965 GB, free: 9.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2659, allocations: 9.281 kB / 0.4965 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.2659, allocations: 69.09 kB / 0.4966 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.267, allocations: 202 kB / 0.4967 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.2674, allocations: 285.9 kB / 0.497 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2675, allocations: 23.94 kB / 0.497 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2675, allocations: 24.81 kB / 0.4971 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.2682, allocations: 0.6394 MB / 0.4977 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2683, allocations: 0 / 0.4977 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2683, allocations: 16.28 kB / 0.4977 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2683, allocations: 5.969 kB / 0.4977 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/0.269, allocations: 406.2 kB / 0.4981 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2709, allocations: 1.817 MB / 0.4999 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.2716, allocations: 315.5 kB / 0.5002 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2718, allocations: 107.3 kB / 0.5003 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01644/0.2882, allocations: 8.868 MB / 0.5089 GB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2882, allocations: 38.5 kB / 0.509 GB, free: 3.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.2883, allocations: 0 / 0.509 GB, free: 3.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.00119/0.2894, allocations: 0.5227 MB / 0.5095 GB, free: 2.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.2895, allocations: 110.8 kB / 0.5096 GB, free: 2.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.2897, allocations: 332.4 kB / 0.5099 GB, free: 2.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2897, allocations: 29.69 kB / 0.5099 GB, free: 2.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.2898, allocations: 216 kB / 0.5101 GB, free: 1.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.2898, allocations: 51.58 kB / 0.5102 GB, free: 1.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.2899, allocations: 65.64 kB / 0.5103 GB, free: 1.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.944e-05/0.2899, allocations: 334.8 kB / 0.5106 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2901, allocations: 95.92 kB / 0.5107 GB, free: 1.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.2902, allocations: 262.7 kB / 0.5109 GB, free: 1.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.2905, allocations: 295 kB / 0.5112 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2905, allocations: 0 / 0.5112 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003999/0.2909, allocations: 352.4 kB / 0.5115 GB, free: 388 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.291, allocations: 8 kB / 0.5115 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.291, allocations: 4 kB / 0.5115 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.291, allocations: 4 kB / 0.5115 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2911, allocations: 67.89 kB / 0.5116 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2911, allocations: 14.36 kB / 0.5116 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.2913, allocations: 43.72 kB / 0.5117 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.2913, allocations: 15.98 kB / 0.5117 GB, free: 232 kB / 410.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.0001014/0.2914, allocations: 158.9 kB / 0.5118 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.2915, allocations: 32.5 kB / 0.5119 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009785/0.2924, allocations: 1.175 MB / 0.513 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.2925, allocations: 15.97 kB / 0.513 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2925, allocations: 0 / 0.513 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2925, allocations: 3.938 kB / 0.513 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.293, allocations: 0.6128 MB / 0.5136 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.293, allocations: 0 / 0.5136 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2931, allocations: 51.89 kB / 0.5137 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2931, allocations: 6.438 kB / 0.5137 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2931, allocations: 0 / 0.5137 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2931, allocations: 7.938 kB / 0.5137 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2931, allocations: 3.984 kB / 0.5137 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.2937, allocations: 0.6404 MB / 0.5143 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.2937, allocations: 55.52 kB / 0.5144 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.2938, allocations: 27.73 kB / 0.5144 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2939, allocations: 23.98 kB / 0.5144 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.294, allocations: 27.89 kB / 0.5144 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.294, allocations: 4 kB / 0.5145 GB, free: 13.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002662/0.2942, allocations: 342.8 kB / 0.5148 GB, free: 12.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2942, allocations: 0 / 0.5148 GB, free: 12.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003314/0.2975, allocations: 0.8578 MB / 0.5156 GB, free: 12.12 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.005506/0.303, allocations: 2.193 MB / 0.5178 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.3037, allocations: 348.2 kB / 0.5181 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3037, allocations: 0 / 0.5181 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3039, allocations: 222.8 kB / 0.5183 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.3046, allocations: 201.2 kB / 0.5185 GB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.3103, allocations: 4.29 MB / 0.5227 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3105, allocations: 284.8 kB / 0.523 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003407/0.3109, allocations: 182.5 kB / 0.5231 GB, free: 4.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3111, allocations: 192.4 kB / 0.5233 GB, free: 4.027 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3111, allocations: 4 kB / 0.5233 GB, free: 4.023 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.3699, allocations: 41.82 MB / 0.5642 GB, free: 10.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.571, allocations: 7.172 kB / 0.5642 GB, free: 10.43 MB / 474.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/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] "Error: Could not read variable specificEntropy.s in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.96511688735336]