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.001813/0.001813, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002136/0.002136, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.621/1.621, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2747/0.2747, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.002098/0.002098, allocations: 71.88 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03376/0.4123, allocations: 27.72 MB / 0.5877 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4328, allocations: 15.67 MB / 0.603 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.4332, allocations: 15.88 kB / 0.603 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.434, allocations: 202.7 kB / 0.6032 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.4346, allocations: 282.3 kB / 0.6034 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01841/0.453, allocations: 6.003 MB / 0.6093 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.4546, allocations: 0.842 MB / 0.6101 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.4551, allocations: 204.9 kB / 0.6103 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.4667, allocations: 5.489 MB / 0.6157 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.4671, allocations: 239 kB / 0.6159 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.429e-05/0.4672, allocations: 28 kB / 0.6159 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/0.4796, allocations: 6.052 MB / 0.6218 GB, free: 5.281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.4798, allocations: 95.61 kB / 0.6219 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.4801, allocations: 167.3 kB / 0.6221 GB, free: 5.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009904/0.49, allocations: 3.854 MB / 0.6259 GB, free: 1.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.49, allocations: 4 kB / 0.6259 GB, free: 1.156 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4901, allocations: 0 / 0.6259 GB, free: 1.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4901, 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.00276/0.4928, allocations: 0.9973 MB / 0.6268 GB, free: 128 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4929, allocations: 8.031 kB / 0.6268 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.514e-05/0.493, allocations: 66.72 kB / 0.6269 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.4946, allocations: 204.5 kB / 0.6271 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.4952, allocations: 292.9 kB / 0.6274 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.4952, allocations: 21.03 kB / 0.6274 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.4953, allocations: 28.12 kB / 0.6274 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.4967, allocations: 0.6311 MB / 0.628 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4967, allocations: 0 / 0.628 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.4967, allocations: 20 kB / 0.6281 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.4967, allocations: 7.938 kB / 0.6281 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.4981, allocations: 401.3 kB / 0.6285 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.5012, allocations: 1.82 MB / 0.6302 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.5024, allocations: 326.2 kB / 0.6305 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.5026, allocations: 104.8 kB / 0.6306 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03175/0.5344, allocations: 8.858 MB / 0.6393 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.5344, allocations: 38.56 kB / 0.6393 GB, free: 3.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.5344, allocations: 0 / 0.6393 GB, free: 3.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002038/0.5365, allocations: 0.5243 MB / 0.6398 GB, free: 2.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.5366, allocations: 106.8 kB / 0.6399 GB, free: 2.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.5369, allocations: 324.4 kB / 0.6403 GB, free: 2.113 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.537, allocations: 29.7 kB / 0.6403 GB, free: 2.078 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5371, allocations: 220 kB / 0.6405 GB, free: 1.859 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.5372, allocations: 47.59 kB / 0.6405 GB, free: 1.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.5373, allocations: 69.62 kB / 0.6406 GB, free: 1.738 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5374, allocations: 350.7 kB / 0.6409 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.5377, allocations: 87.94 kB / 0.641 GB, free: 1.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.5381, allocations: 258.8 kB / 0.6413 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.5387, allocations: 300.4 kB / 0.6416 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5387, allocations: 0 / 0.6416 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007639/0.5395, allocations: 341 kB / 0.6419 GB, free: 308 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5395, allocations: 10.66 kB / 0.6419 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5395, allocations: 7.938 kB / 0.6419 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5396, allocations: 4 kB / 0.6419 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.5398, allocations: 80.34 kB / 0.642 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.5398, allocations: 7.938 kB / 0.642 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.5401, allocations: 43.72 kB / 0.642 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.5401, allocations: 16 kB / 0.642 GB, free: 140 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.0001814/0.5403, allocations: 157.7 kB / 0.6422 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.5404, allocations: 31.81 kB / 0.6422 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.542, allocations: 1.172 MB / 0.6434 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.542, allocations: 11.98 kB / 0.6434 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.542, allocations: 0 / 0.6434 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.542, allocations: 3.984 kB / 0.6434 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.5428, allocations: 0.6086 MB / 0.644 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5428, allocations: 4 kB / 0.644 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.543, allocations: 47.95 kB / 0.644 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.543, allocations: 0 / 0.644 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.543, allocations: 7.938 kB / 0.644 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.543, allocations: 4 kB / 0.644 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.543, allocations: 0 / 0.644 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.5441, allocations: 0.6391 MB / 0.6447 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5442, allocations: 55.48 kB / 0.6447 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.5443, allocations: 35.7 kB / 0.6448 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.5445, allocations: 19.92 kB / 0.6448 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.5446, allocations: 19.91 kB / 0.6448 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.5446, allocations: 11.98 kB / 0.6448 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004054/0.545, allocations: 338.9 kB / 0.6451 GB, free: 12.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.545, allocations: 0 / 0.6451 GB, free: 12.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002782/0.5478, allocations: 0.8656 MB / 0.646 GB, free: 12.04 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.004719/0.5525, allocations: 2.083 MB / 0.648 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.5533, allocations: 357.1 kB / 0.6483 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5533, allocations: 0 / 0.6483 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.5537, allocations: 204.5 kB / 0.6485 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5547, allocations: 195.2 kB / 0.6487 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.5613, allocations: 4.303 MB / 0.6529 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.5616, allocations: 280.8 kB / 0.6532 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004128/0.562, allocations: 186.9 kB / 0.6534 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5622, allocations: 195.4 kB / 0.6536 GB, free: 4.039 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5622, allocations: 0 / 0.6536 GB, free: 4.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08588/0.6481, allocations: 41.64 MB / 0.6942 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.91, allocations: 6.812 kB / 0.6942 GB, free: 10.65 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 & 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/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] "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: 17.545041100122035]