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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108.4 kB / 21.1 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 195.6 kB / 24.37 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 253.1 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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.2194/0.2194, allocations: 44.92 MB / 353.2 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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 0.00198/0.00198, allocations: 67.89 kB / 496.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 64.28 MB / 0.5479 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03713/0.399, allocations: 30.18 MB / 0.5774 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02372/0.4228, allocations: 17.57 MB / 0.5946 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.4232, allocations: 11.88 kB / 0.5946 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007932/0.424, allocations: 222.5 kB / 0.5948 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007017/0.4247, allocations: 286.3 kB / 0.5951 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.4424, allocations: 6.058 MB / 0.601 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.4438, allocations: 0.8499 MB / 0.6018 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.4442, allocations: 208.9 kB / 0.602 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.4561, allocations: 5.482 MB / 0.6074 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.4567, allocations: 258.9 kB / 0.6076 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.4567, allocations: 28 kB / 0.6076 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.4685, allocations: 6.283 MB / 0.6138 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.4687, allocations: 91.67 kB / 0.6139 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.469, allocations: 191.2 kB / 0.614 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008761/0.4778, allocations: 3.843 MB / 0.6178 GB, free: 7.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4778, allocations: 4 kB / 0.6178 GB, free: 7.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4778, allocations: 0 / 0.6178 GB, free: 7.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4778, allocations: 4 kB / 0.6178 GB, free: 7.711 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.002488/0.4803, allocations: 0.9858 MB / 0.6188 GB, free: 6.691 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4803, allocations: 8.922 kB / 0.6188 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.044e-05/0.4804, allocations: 66.66 kB / 0.6188 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.482, allocations: 196.5 kB / 0.619 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.4826, allocations: 284.8 kB / 0.6193 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.4826, allocations: 29.03 kB / 0.6193 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.4827, allocations: 28.12 kB / 0.6193 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.4841, allocations: 0.635 MB / 0.62 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4842, allocations: 0 / 0.62 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.4842, allocations: 15.94 kB / 0.62 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4842, allocations: 11.98 kB / 0.62 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.4855, allocations: 409.3 kB / 0.6204 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.4891, allocations: 2.234 MB / 0.6226 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.4904, allocations: 310.3 kB / 0.6229 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.4907, allocations: 104.8 kB / 0.623 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0318/0.5225, allocations: 8.484 MB / 0.6312 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5225, allocations: 38.56 kB / 0.6313 GB, free: 9.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.5225, allocations: 0 / 0.6313 GB, free: 9.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002179/0.5247, allocations: 0.5314 MB / 0.6318 GB, free: 9.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.5248, allocations: 102.8 kB / 0.6319 GB, free: 8.898 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.5252, allocations: 324.4 kB / 0.6322 GB, free: 8.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.5252, allocations: 29.7 kB / 0.6322 GB, free: 8.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5254, allocations: 208.1 kB / 0.6324 GB, free: 8.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.5254, allocations: 51.59 kB / 0.6325 GB, free: 8.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5255, allocations: 65.64 kB / 0.6325 GB, free: 8.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5257, allocations: 338.8 kB / 0.6329 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.526, allocations: 91.92 kB / 0.633 GB, free: 7.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.5264, allocations: 267.2 kB / 0.6332 GB, free: 7.441 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.5271, allocations: 293.4 kB / 0.6335 GB, free: 7.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5271, allocations: 0 / 0.6335 GB, free: 7.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008469/0.528, allocations: 341 kB / 0.6338 GB, free: 6.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.528, allocations: 8 kB / 0.6338 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.528, allocations: 7.938 kB / 0.6338 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.528, allocations: 4 kB / 0.6338 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.5283, allocations: 68.36 kB / 0.6339 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5283, allocations: 15.98 kB / 0.6339 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.5286, allocations: 43.72 kB / 0.634 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.5286, allocations: 16 kB / 0.634 GB, free: 6.605 MB / 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.0001794/0.5288, allocations: 165.6 kB / 0.6341 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.5289, allocations: 27.81 kB / 0.6342 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.5305, allocations: 1.156 MB / 0.6353 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.5305, allocations: 11.98 kB / 0.6353 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5306, allocations: 0 / 0.6353 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.5306, allocations: 3.984 kB / 0.6353 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.5313, allocations: 0.6514 MB / 0.6359 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5313, allocations: 7.984 kB / 0.6359 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.5315, allocations: 47.89 kB / 0.636 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5315, allocations: 0 / 0.636 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.5315, allocations: 11.94 kB / 0.636 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5315, allocations: 7.938 kB / 0.636 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5316, allocations: 0 / 0.636 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009755/0.5325, allocations: 0.6336 MB / 0.6366 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.5326, allocations: 59.47 kB / 0.6367 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.5327, allocations: 27.77 kB / 0.6367 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.5329, allocations: 19.98 kB / 0.6367 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.533, allocations: 23.97 kB / 0.6368 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.533, allocations: 7.984 kB / 0.6368 GB, free: 3.676 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003933/0.5334, allocations: 338.9 kB / 0.6371 GB, free: 3.344 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5334, allocations: 0 / 0.6371 GB, free: 3.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002391/0.5358, allocations: 0.8577 MB / 0.6379 GB, free: 2.484 MB / 478.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.005247/0.541, allocations: 2.099 MB / 0.64 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.5419, allocations: 357 kB / 0.6403 GB, free: 16 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5419, allocations: 0 / 0.6403 GB, free: 16 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.5423, allocations: 208.5 kB / 0.6405 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5433, allocations: 189.9 kB / 0.6407 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.5499, allocations: 4.288 MB / 0.6449 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.5504, allocations: 0.8835 MB / 0.6457 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.5508, allocations: 179 kB / 0.6459 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.551, allocations: 187.4 kB / 0.6461 GB, free: 9.914 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.551, allocations: 0 / 0.6461 GB, free: 9.914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08558/0.6366, allocations: 41 MB / 0.6861 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.32, allocations: 5.172 kB / 0.6861 GB, free: 1.07 MB / 0.5137 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/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: 17.707680778810754]