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.002109/0.002109, allocations: 110 kB / 20.43 MB, free: 1.453 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.001731/0.001731, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2351/0.2351, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.002332/0.002332, allocations: 79.88 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3283, allocations: 66.08 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03635/0.3646, allocations: 30.65 MB / 0.5907 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02657/0.3912, allocations: 17.78 MB / 0.608 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000674/0.3919, allocations: 15.88 kB / 0.608 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000835/0.3927, allocations: 218.6 kB / 0.6082 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.3935, allocations: 286.3 kB / 0.6085 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01634/0.4098, allocations: 6.084 MB / 0.6145 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.4111, allocations: 0.8537 MB / 0.6153 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.4116, allocations: 204.9 kB / 0.6155 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01195/0.4235, allocations: 5.497 MB / 0.6209 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.424, allocations: 254.9 kB / 0.6211 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.806e-05/0.4241, allocations: 28 kB / 0.6211 GB, free: 6.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.437, allocations: 6.357 MB / 0.6273 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.4372, allocations: 83.75 kB / 0.6274 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.4375, allocations: 199.1 kB / 0.6276 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.4481, allocations: 3.862 MB / 0.6314 GB, free: 11.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4481, allocations: 0 / 0.6314 GB, free: 11.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4481, allocations: 0 / 0.6314 GB, free: 11.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.4481, allocations: 0 / 0.6314 GB, free: 11.7 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.002801/0.4509, allocations: 1.013 MB / 0.6324 GB, free: 10.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.451, allocations: 8.031 kB / 0.6324 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.717e-05/0.4511, allocations: 58.73 kB / 0.6324 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.4528, allocations: 208.4 kB / 0.6326 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.4535, allocations: 296.8 kB / 0.6329 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.4535, allocations: 21.03 kB / 0.6329 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.4536, allocations: 28.12 kB / 0.633 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4549, allocations: 492.1 kB / 0.6334 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4549, allocations: 4 kB / 0.6334 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.4549, allocations: 15.98 kB / 0.6334 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4549, allocations: 4 kB / 0.6334 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.4563, allocations: 413.2 kB / 0.6338 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.4597, allocations: 2.238 MB / 0.636 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.4609, allocations: 322.1 kB / 0.6363 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.4612, allocations: 108.8 kB / 0.6364 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0318/0.493, allocations: 8.823 MB / 0.6451 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.493, allocations: 30.56 kB / 0.6451 GB, free: 13.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.493, allocations: 0 / 0.6451 GB, free: 13.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002276/0.4953, allocations: 0.5244 MB / 0.6456 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.4954, allocations: 106.8 kB / 0.6457 GB, free: 12.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.4959, allocations: 328.4 kB / 0.646 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.4959, allocations: 33.64 kB / 0.646 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4961, allocations: 208.1 kB / 0.6462 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.4962, allocations: 55.53 kB / 0.6463 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4963, allocations: 65.64 kB / 0.6464 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4965, allocations: 342.8 kB / 0.6467 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4968, allocations: 91.92 kB / 0.6468 GB, free: 11.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.4972, allocations: 215.4 kB / 0.647 GB, free: 11.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.4979, allocations: 292.5 kB / 0.6473 GB, free: 10.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4979, allocations: 4 kB / 0.6473 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008626/0.4988, allocations: 341.2 kB / 0.6476 GB, free: 10.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4988, allocations: 8 kB / 0.6476 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4988, allocations: 7.938 kB / 0.6476 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.4988, allocations: 4 kB / 0.6476 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.4991, allocations: 71.89 kB / 0.6477 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.4991, allocations: 7.938 kB / 0.6477 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.4994, allocations: 44.02 kB / 0.6477 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.4995, allocations: 19.98 kB / 0.6477 GB, free: 10.45 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.0002088/0.4997, allocations: 151.1 kB / 0.6479 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.4998, allocations: 35.75 kB / 0.6479 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.5015, allocations: 1.153 MB / 0.649 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.5015, allocations: 15.97 kB / 0.6491 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5015, allocations: 0 / 0.6491 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5015, allocations: 0 / 0.6491 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.5023, allocations: 0.6553 MB / 0.6497 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5023, allocations: 3.938 kB / 0.6497 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.5026, allocations: 51.89 kB / 0.6498 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5026, allocations: 4 kB / 0.6498 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.5026, allocations: 15.92 kB / 0.6498 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5026, allocations: 0 / 0.6498 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5026, allocations: 0 / 0.6498 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5037, allocations: 0.643 MB / 0.6504 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5038, allocations: 55.48 kB / 0.6505 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.5039, allocations: 31.72 kB / 0.6505 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.5041, allocations: 19.92 kB / 0.6505 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.5042, allocations: 23.95 kB / 0.6505 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5042, allocations: 4 kB / 0.6505 GB, free: 7.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004482/0.5046, allocations: 346.8 kB / 0.6509 GB, free: 7.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5046, allocations: 4 kB / 0.6509 GB, free: 7.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00245/0.5071, allocations: 0.8539 MB / 0.6517 GB, free: 6.32 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.005336/0.5124, allocations: 2.072 MB / 0.6537 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008486/0.5133, allocations: 351 kB / 0.6541 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5133, allocations: 3.938 kB / 0.6541 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.5137, allocations: 213.4 kB / 0.6543 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5147, allocations: 191.7 kB / 0.6544 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.522, allocations: 4.3 MB / 0.6586 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.5226, allocations: 0.8759 MB / 0.6595 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004043/0.523, allocations: 193.3 kB / 0.6597 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.5232, allocations: 191.4 kB / 0.6599 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5232, allocations: 0 / 0.6599 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0931/0.6163, allocations: 41.04 MB / 0.6999 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.33, allocations: 18.83 kB / 0.7 GB, free: 4.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.928960701217875]