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.001927/0.001927, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002524/0.002524, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.526/1.526, allocations: 230.4 MB / 254 MB, free: 15.02 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.2343/0.2343, allocations: 46.93 MB / 357 MB, free: 10.19 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.003237/0.003237, allocations: 75.89 kB / 0.491 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1633, allocations: 66.04 MB / 0.5555 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03785/0.2012, allocations: 30.4 MB / 0.5851 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3412/0.5424, allocations: 17.69 MB / 0.6024 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.5428, allocations: 14.97 kB / 0.6024 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007113/0.5435, allocations: 219.8 kB / 0.6026 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006531/0.5441, allocations: 284.3 kB / 0.6029 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02048/0.5646, allocations: 6.061 MB / 0.6088 GB, free: 3.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.5661, allocations: 0.8461 MB / 0.6097 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.5666, allocations: 200.1 kB / 0.6099 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.5775, allocations: 5.481 MB / 0.6152 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.578, allocations: 254 kB / 0.6154 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.5781, allocations: 29.78 kB / 0.6155 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.5902, allocations: 6.34 MB / 0.6217 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.5903, allocations: 99.28 kB / 0.6218 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.5907, allocations: 193.4 kB / 0.6219 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.603, allocations: 3.866 MB / 0.6257 GB, free: 14.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.603, allocations: 0 / 0.6257 GB, free: 14.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.603, allocations: 0 / 0.6257 GB, free: 14.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.603, allocations: 1.031 kB / 0.6257 GB, free: 14.35 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.003752/0.6067, allocations: 1.074 MB / 0.6268 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6068, allocations: 12.66 kB / 0.6268 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/0.6069, allocations: 61.2 kB / 0.6268 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.6085, allocations: 202.9 kB / 0.627 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.6091, allocations: 363.3 kB / 0.6274 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.6091, allocations: 25.97 kB / 0.6274 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.6091, allocations: 24.22 kB / 0.6274 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.6104, allocations: 494.4 kB / 0.6279 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.6105, allocations: 0 / 0.6279 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.6105, allocations: 12.78 kB / 0.6279 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6105, allocations: 10.59 kB / 0.6279 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6118, allocations: 412.6 kB / 0.6283 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.6152, allocations: 2.415 MB / 0.6307 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.6163, allocations: 316.5 kB / 0.631 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.6166, allocations: 113.8 kB / 0.6311 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03663/0.6532, allocations: 18.38 MB / 0.649 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.6533, allocations: 38.55 kB / 0.6491 GB, free: 9.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/0.6533, allocations: 0 / 0.6491 GB, free: 9.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002169/0.6555, allocations: 0.5189 MB / 0.6496 GB, free: 8.504 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.6555, allocations: 114.8 kB / 0.6497 GB, free: 8.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.6559, allocations: 324.5 kB / 0.65 GB, free: 8.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.656, allocations: 25.7 kB / 0.65 GB, free: 8.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.6561, allocations: 218.7 kB / 0.6502 GB, free: 7.801 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.6562, allocations: 47.58 kB / 0.6503 GB, free: 7.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6563, allocations: 69.53 kB / 0.6503 GB, free: 7.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6564, allocations: 346.8 kB / 0.6507 GB, free: 7.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.6567, allocations: 91.92 kB / 0.6508 GB, free: 7.242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.6571, allocations: 215.3 kB / 0.651 GB, free: 6.977 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.6577, allocations: 297.4 kB / 0.6512 GB, free: 6.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6577, allocations: 4 kB / 0.6512 GB, free: 6.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008277/0.6586, allocations: 338.6 kB / 0.6516 GB, free: 6.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6586, allocations: 12 kB / 0.6516 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6586, allocations: 4 kB / 0.6516 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6586, allocations: 7.938 kB / 0.6516 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.6589, allocations: 71.89 kB / 0.6517 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6589, allocations: 7.938 kB / 0.6517 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.6592, allocations: 43.72 kB / 0.6517 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.6592, allocations: 21.86 kB / 0.6517 GB, free: 6.133 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.0001661/0.6594, allocations: 153.8 kB / 0.6519 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.6595, allocations: 31.81 kB / 0.6519 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.661, allocations: 1.113 MB / 0.653 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.661, allocations: 15.97 kB / 0.653 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.661, allocations: 0 / 0.653 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.661, allocations: 0 / 0.653 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.6617, allocations: 0.6704 MB / 0.6537 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6618, allocations: 0 / 0.6537 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.662, allocations: 51.89 kB / 0.6537 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.662, allocations: 0 / 0.6537 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.662, allocations: 12.56 kB / 0.6537 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.662, allocations: 0 / 0.6537 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.662, allocations: 0 / 0.6537 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.663, allocations: 0.6197 MB / 0.6543 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6631, allocations: 136.6 kB / 0.6545 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.6632, allocations: 28.78 kB / 0.6545 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.6634, allocations: 19.92 kB / 0.6545 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.6634, allocations: 23.97 kB / 0.6545 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.6634, allocations: 4 kB / 0.6545 GB, free: 3.168 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004044/0.6639, allocations: 350.8 kB / 0.6549 GB, free: 2.828 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6639, allocations: 0 / 0.6549 GB, free: 2.828 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003278/0.6671, allocations: 0.8578 MB / 0.6557 GB, free: 1.969 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.006163/0.6733, allocations: 2.069 MB / 0.6577 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009096/0.6742, allocations: 340.5 kB / 0.6581 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6742, allocations: 0 / 0.6581 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.6746, allocations: 210.9 kB / 0.6583 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6756, allocations: 178.9 kB / 0.6584 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/0.6835, allocations: 4.296 MB / 0.6626 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.684, allocations: 0.8835 MB / 0.6635 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.6844, allocations: 180.9 kB / 0.6637 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.6847, allocations: 195.4 kB / 0.6638 GB, free: 9.527 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6847, allocations: 0 / 0.6638 GB, free: 9.527 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07852/0.7632, allocations: 40.49 MB / 0.7034 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.24, allocations: 3.984 kB / 0.7034 GB, free: 1.156 MB / 0.5137 GB " [Timeout remaining time 649] (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: 14.764312995946966]