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.001756/0.001756, allocations: 117.7 kB / 20.32 MB, free: 1.547 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.002319/0.002319, allocations: 206.3 kB / 23.6 MB, free: 4.945 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.551/1.551, allocations: 230.4 MB / 257.1 MB, free: 8.059 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.2288/0.2288, allocations: 46.93 MB / 360.5 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] 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.003649/0.003649, allocations: 83.84 kB / 0.4958 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3696, allocations: 66.08 MB / 0.5603 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03859/0.4082, allocations: 30.31 MB / 0.5899 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02268/0.4309, allocations: 17.61 MB / 0.6071 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.4313, allocations: 11.88 kB / 0.6071 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.4321, allocations: 214.6 kB / 0.6073 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007225/0.4328, allocations: 290.3 kB / 0.6076 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.4499, allocations: 6.086 MB / 0.6136 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.4512, allocations: 0.8459 MB / 0.6144 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.4515, allocations: 208.9 kB / 0.6146 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.4629, allocations: 5.493 MB / 0.62 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.4634, allocations: 251 kB / 0.6202 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.116e-05/0.4635, allocations: 28 kB / 0.6202 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.4755, allocations: 6.302 MB / 0.6264 GB, free: 424 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.4757, allocations: 87.73 kB / 0.6265 GB, free: 336 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.476, allocations: 199.1 kB / 0.6266 GB, free: 136 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009129/0.4851, allocations: 3.847 MB / 0.6304 GB, free: 12.28 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4851, allocations: 0 / 0.6304 GB, free: 12.28 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4851, allocations: 0 / 0.6304 GB, free: 12.28 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4851, allocations: 3.938 kB / 0.6304 GB, free: 12.27 MB / 478.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.002471/0.4876, allocations: 1.013 MB / 0.6314 GB, free: 11.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.4876, allocations: 8.031 kB / 0.6314 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.4878, allocations: 62.73 kB / 0.6315 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.4902, allocations: 204.4 kB / 0.6317 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.4907, allocations: 288.9 kB / 0.6319 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.4908, allocations: 25.03 kB / 0.632 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.4908, allocations: 28.12 kB / 0.632 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.4924, allocations: 0.6312 MB / 0.6326 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4924, allocations: 3.938 kB / 0.6326 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.4924, allocations: 12 kB / 0.6326 GB, free: 9.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4924, allocations: 8 kB / 0.6326 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.4937, allocations: 413.2 kB / 0.633 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.4969, allocations: 2.23 MB / 0.6352 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.498, allocations: 322.2 kB / 0.6355 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.4983, allocations: 104.8 kB / 0.6356 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02953/0.5279, allocations: 8.827 MB / 0.6442 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.5279, allocations: 38.56 kB / 0.6443 GB, free: 13.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.5279, allocations: 0 / 0.6443 GB, free: 13.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002006/0.5299, allocations: 0.5226 MB / 0.6448 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.53, allocations: 110.8 kB / 0.6449 GB, free: 13.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.5305, allocations: 324.5 kB / 0.6452 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5305, allocations: 29.64 kB / 0.6452 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.5307, allocations: 216.1 kB / 0.6454 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.5307, allocations: 55.53 kB / 0.6455 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5308, allocations: 73.64 kB / 0.6455 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.531, allocations: 334.8 kB / 0.6459 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.5312, allocations: 87.92 kB / 0.6459 GB, free: 11.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.5316, allocations: 273.1 kB / 0.6462 GB, free: 11.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.5322, allocations: 293.5 kB / 0.6465 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5322, allocations: 4 kB / 0.6465 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007588/0.533, allocations: 343.6 kB / 0.6468 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.533, allocations: 8 kB / 0.6468 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.533, allocations: 7.938 kB / 0.6468 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.533, allocations: 4 kB / 0.6468 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.5334, allocations: 71.89 kB / 0.6469 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.5334, allocations: 4.469 kB / 0.6469 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.5336, allocations: 47.75 kB / 0.647 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.5336, allocations: 12 kB / 0.647 GB, free: 10.78 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.0001682/0.5338, allocations: 159 kB / 0.6471 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.5339, allocations: 35.77 kB / 0.6472 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.5354, allocations: 1.149 MB / 0.6483 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.5355, allocations: 15.97 kB / 0.6483 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5355, allocations: 0 / 0.6483 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5355, allocations: 0 / 0.6483 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.5362, allocations: 0.6553 MB / 0.6489 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5362, allocations: 7.938 kB / 0.6489 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.5364, allocations: 51.94 kB / 0.649 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5364, allocations: 0 / 0.649 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.5364, allocations: 11.94 kB / 0.649 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5364, allocations: 0 / 0.649 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5364, allocations: 0 / 0.649 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.5373, allocations: 0.643 MB / 0.6496 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.5374, allocations: 55.48 kB / 0.6497 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.5375, allocations: 31.72 kB / 0.6497 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.5377, allocations: 15.97 kB / 0.6497 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.5378, allocations: 19.97 kB / 0.6497 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.5378, allocations: 7.984 kB / 0.6498 GB, free: 7.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.5382, allocations: 350.9 kB / 0.6501 GB, free: 7.504 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5382, allocations: 0 / 0.6501 GB, free: 7.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00237/0.5406, allocations: 0.8539 MB / 0.6509 GB, free: 6.648 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.004705/0.5453, allocations: 2.076 MB / 0.6529 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.546, allocations: 358.9 kB / 0.6533 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.546, allocations: 4.875 kB / 0.6533 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.5464, allocations: 212.5 kB / 0.6535 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.5473, allocations: 187.6 kB / 0.6537 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/0.5538, allocations: 4.3 MB / 0.6579 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.554, allocations: 280.8 kB / 0.6581 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003799/0.5544, allocations: 186.9 kB / 0.6583 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.5547, allocations: 191.4 kB / 0.6585 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5547, allocations: 0 / 0.6585 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08734/0.642, allocations: 41.04 MB / 0.6986 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.28, allocations: 14.97 kB / 0.6986 GB, free: 5.715 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.71576010901481]