Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001393/0.001393, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001597/0.001597, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2454/0.2454, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 87.86 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3561, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03891/0.395, allocations: 30.61 MB / 0.5906 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.4169, allocations: 15.68 MB / 0.6059 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.4173, allocations: 15.88 kB / 0.606 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.418, allocations: 218.6 kB / 0.6062 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.4186, allocations: 270.4 kB / 0.6064 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01487/0.4335, allocations: 5.672 MB / 0.612 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.4348, allocations: 0.8381 MB / 0.6128 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.4351, allocations: 193 kB / 0.613 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.4476, allocations: 5.513 MB / 0.6183 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.4481, allocations: 243 kB / 0.6186 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.4482, allocations: 32 kB / 0.6186 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.4603, allocations: 6.119 MB / 0.6246 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.4605, allocations: 87.67 kB / 0.6247 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.4608, allocations: 187.1 kB / 0.6248 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008822/0.4696, allocations: 3.675 MB / 0.6284 GB, free: 14.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.4696, allocations: 0 / 0.6284 GB, free: 14.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.161e-06/0.4696, allocations: 3.984 kB / 0.6284 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.4696, allocations: 0 / 0.6284 GB, free: 14.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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002905/0.4725, allocations: 0.9586 MB / 0.6294 GB, free: 13.71 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4726, allocations: 8.031 kB / 0.6294 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.975e-05/0.4727, allocations: 62.73 kB / 0.6294 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.4737, allocations: 116.6 kB / 0.6296 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.4743, allocations: 288.9 kB / 0.6298 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.4743, allocations: 16.88 kB / 0.6298 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.4744, allocations: 28.12 kB / 0.6299 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.4755, allocations: 454.1 kB / 0.6303 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4755, allocations: 0 / 0.6303 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.4756, allocations: 12 kB / 0.6303 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4756, allocations: 8 kB / 0.6303 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4767, allocations: 373.2 kB / 0.6307 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.48, allocations: 2.194 MB / 0.6328 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.481, allocations: 270.3 kB / 0.6331 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.4813, allocations: 88.8 kB / 0.6332 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.4816, allocations: 99.91 kB / 0.6333 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.4816, allocations: 34.56 kB / 0.6333 GB, free: 9.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.4816, allocations: 0 / 0.6333 GB, free: 9.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001721/0.4833, allocations: 461.2 kB / 0.6337 GB, free: 8.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.4834, allocations: 110.8 kB / 0.6338 GB, free: 8.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4838, allocations: 324.4 kB / 0.6341 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.4838, allocations: 29.7 kB / 0.6342 GB, free: 8.477 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.484, allocations: 215.9 kB / 0.6344 GB, free: 8.262 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.4841, allocations: 39.69 kB / 0.6344 GB, free: 8.223 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.4842, allocations: 53.66 kB / 0.6345 GB, free: 8.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4844, allocations: 342.8 kB / 0.6348 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.4846, allocations: 83.94 kB / 0.6349 GB, free: 7.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.485, allocations: 207.4 kB / 0.6351 GB, free: 7.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.4857, allocations: 277.4 kB / 0.6353 GB, free: 7.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4857, allocations: 0 / 0.6353 GB, free: 7.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007431/0.4864, allocations: 325.3 kB / 0.6357 GB, free: 6.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4864, allocations: 10.34 kB / 0.6357 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4865, allocations: 7.938 kB / 0.6357 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4865, allocations: 4 kB / 0.6357 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.4868, allocations: 63.83 kB / 0.6357 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.4868, allocations: 11.94 kB / 0.6357 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.487, allocations: 47.7 kB / 0.6358 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4871, allocations: 20.16 kB / 0.6358 GB, free: 6.676 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 (27): * Single equations (assignments): 27 * 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.000179/0.4872, allocations: 155 kB / 0.636 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.4873, allocations: 31.81 kB / 0.636 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.4885, allocations: 0.7529 MB / 0.6367 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.4885, allocations: 15.92 kB / 0.6367 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4885, allocations: 0 / 0.6367 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4886, allocations: 0 / 0.6367 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.4892, allocations: 0.5135 MB / 0.6372 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.4892, allocations: 0 / 0.6372 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.4894, allocations: 43.89 kB / 0.6373 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4894, allocations: 4 kB / 0.6373 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4894, allocations: 7.938 kB / 0.6373 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4894, allocations: 7.938 kB / 0.6373 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4894, allocations: 0 / 0.6373 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.4902, allocations: 475 kB / 0.6378 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.4903, allocations: 43.62 kB / 0.6378 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.4903, allocations: 27.73 kB / 0.6378 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.4905, allocations: 15.92 kB / 0.6378 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.4906, allocations: 23.91 kB / 0.6379 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.4906, allocations: 7.984 kB / 0.6379 GB, free: 4.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.491, allocations: 342.9 kB / 0.6382 GB, free: 4.156 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.491, allocations: 0 / 0.6382 GB, free: 4.156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002762/0.4938, allocations: 0.8578 MB / 0.639 GB, free: 3.297 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005082/0.4989, allocations: 1.888 MB / 0.6409 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.4997, allocations: 268.5 kB / 0.6411 GB, free: 1.117 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4997, allocations: 7.938 kB / 0.6411 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.5, allocations: 143.1 kB / 0.6413 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5011, allocations: 182.7 kB / 0.6415 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.5077, allocations: 4.026 MB / 0.6454 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.5083, allocations: 0.8499 MB / 0.6462 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.5086, allocations: 142.8 kB / 0.6463 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.5088, allocations: 167.3 kB / 0.6465 GB, free: 11.41 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5088, allocations: 0 / 0.6465 GB, free: 11.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08962/0.5984, allocations: 39.45 MB / 0.685 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.08, allocations: 3.938 kB / 0.685 GB, free: 4.051 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.27106844005175]