Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001985/0.001985, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002378/0.002378, allocations: 210.8 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 79.88 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3745, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.036/0.4105, allocations: 27.72 MB / 0.5878 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.4325, allocations: 15.67 MB / 0.6031 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.4329, allocations: 15.81 kB / 0.6031 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007138/0.4337, allocations: 202.7 kB / 0.6033 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006672/0.4343, allocations: 286.3 kB / 0.6035 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0175/0.4518, allocations: 6.005 MB / 0.6094 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.4532, allocations: 0.8382 MB / 0.6102 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.4536, allocations: 200.9 kB / 0.6104 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/0.4669, allocations: 5.482 MB / 0.6158 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.4675, allocations: 246.9 kB / 0.616 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.4676, allocations: 28 kB / 0.616 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.4805, allocations: 6.06 MB / 0.6219 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.4807, allocations: 95.61 kB / 0.622 GB, free: 4.953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.481, allocations: 163.3 kB / 0.6222 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009567/0.4906, allocations: 3.854 MB / 0.626 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.4906, allocations: 4 kB / 0.626 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4906, allocations: 0 / 0.626 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4906, allocations: 0 / 0.626 GB, free: 0.9258 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.002851/0.4935, allocations: 0.9968 MB / 0.6269 GB, free: 15.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.4935, allocations: 12.03 kB / 0.6269 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.983e-05/0.4936, allocations: 62.72 kB / 0.627 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.4953, allocations: 204.5 kB / 0.6272 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.4958, allocations: 284.9 kB / 0.6275 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.4958, allocations: 21.03 kB / 0.6275 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.4959, allocations: 28.75 kB / 0.6275 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4972, allocations: 0.635 MB / 0.6281 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4972, allocations: 3.938 kB / 0.6281 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.4973, allocations: 15.98 kB / 0.6282 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4973, allocations: 8 kB / 0.6282 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4985, allocations: 401.3 kB / 0.6285 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.5015, allocations: 1.835 MB / 0.6303 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5026, allocations: 318.2 kB / 0.6306 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.5029, allocations: 104.8 kB / 0.6307 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03203/0.5349, allocations: 8.858 MB / 0.6394 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.535, allocations: 34.56 kB / 0.6394 GB, free: 2.879 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.535, allocations: 0 / 0.6394 GB, free: 2.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002193/0.5372, allocations: 0.5244 MB / 0.6399 GB, free: 2.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.5373, allocations: 110.7 kB / 0.64 GB, free: 2.215 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.5377, allocations: 328.5 kB / 0.6404 GB, free: 1.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.5378, allocations: 25.7 kB / 0.6404 GB, free: 1.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.538, allocations: 224 kB / 0.6406 GB, free: 1.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.538, allocations: 47.59 kB / 0.6406 GB, free: 1.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.5381, allocations: 65.64 kB / 0.6407 GB, free: 1.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.5383, allocations: 342.8 kB / 0.641 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.5386, allocations: 91.92 kB / 0.6411 GB, free: 1.074 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.539, allocations: 266.7 kB / 0.6414 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.5397, allocations: 300.6 kB / 0.6417 GB, free: 416 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5397, allocations: 3.938 kB / 0.6417 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007529/0.5404, allocations: 337 kB / 0.642 GB, free: 68 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5404, allocations: 4 kB / 0.642 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5405, allocations: 4 kB / 0.642 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5405, allocations: 4 kB / 0.642 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.5408, allocations: 79.83 kB / 0.6421 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.5408, allocations: 4.438 kB / 0.6421 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.541, allocations: 55.62 kB / 0.6421 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5411, allocations: 12 kB / 0.6421 GB, free: 15.91 MB / 494.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.0001817/0.5412, allocations: 157.7 kB / 0.6423 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.5413, allocations: 31.81 kB / 0.6423 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.543, allocations: 1.164 MB / 0.6435 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.543, allocations: 19.91 kB / 0.6435 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.543, allocations: 4 kB / 0.6435 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.543, allocations: 0 / 0.6435 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.5438, allocations: 0.6164 MB / 0.6441 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5438, allocations: 0 / 0.6441 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.5441, allocations: 51.94 kB / 0.6441 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5441, allocations: 0 / 0.6441 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.5441, allocations: 8 kB / 0.6441 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5441, allocations: 3.938 kB / 0.6441 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5441, allocations: 0 / 0.6441 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5452, allocations: 0.6352 MB / 0.6448 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.5453, allocations: 55.48 kB / 0.6448 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.5453, allocations: 27.78 kB / 0.6448 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.5455, allocations: 23.91 kB / 0.6449 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.5456, allocations: 15.97 kB / 0.6449 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.5456, allocations: 8 kB / 0.6449 GB, free: 13.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.546, allocations: 346.8 kB / 0.6452 GB, free: 12.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.546, allocations: 0 / 0.6452 GB, free: 12.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002634/0.5487, allocations: 0.8616 MB / 0.6461 GB, free: 11.81 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.005036/0.5537, allocations: 2.088 MB / 0.6481 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009035/0.5546, allocations: 347.9 kB / 0.6484 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5546, allocations: 0 / 0.6484 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.555, allocations: 216.5 kB / 0.6486 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5561, allocations: 190 kB / 0.6488 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/0.5648, allocations: 4.3 MB / 0.653 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.5651, allocations: 276.8 kB / 0.6533 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005867/0.5657, allocations: 186.5 kB / 0.6535 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.566, allocations: 191.4 kB / 0.6536 GB, free: 3.816 MB / 494.1 MB Notification: Performance of SimCode: time 1.843e-06/0.566, allocations: 0 / 0.6536 GB, free: 3.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09198/0.658, allocations: 41.64 MB / 0.6943 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.07, allocations: 14.22 kB / 0.6943 GB, free: 10.35 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.564772553741932]