Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.89 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3347, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04075/0.3754, allocations: 30.61 MB / 0.5905 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02234/0.3978, allocations: 15.68 MB / 0.6059 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/0.3984, allocations: 19.81 kB / 0.6059 GB, free: 6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3995, allocations: 210.6 kB / 0.6061 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.4008, allocations: 278.4 kB / 0.6063 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02141/0.4223, allocations: 5.665 MB / 0.6119 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.4243, allocations: 0.8265 MB / 0.6127 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.425, allocations: 195.7 kB / 0.6129 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01417/0.4392, allocations: 5.52 MB / 0.6183 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.4398, allocations: 247 kB / 0.6185 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.44, allocations: 31.94 kB / 0.6185 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/0.4535, allocations: 6.103 MB / 0.6245 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.4537, allocations: 87.69 kB / 0.6246 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.4541, allocations: 191.1 kB / 0.6248 GB, free: 2.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.4637, allocations: 3.683 MB / 0.6284 GB, free: 14.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4637, allocations: 0 / 0.6284 GB, free: 14.89 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4637, allocations: 0 / 0.6284 GB, free: 14.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.4638, allocations: 0 / 0.6284 GB, free: 14.89 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.003021/0.4668, allocations: 0.947 MB / 0.6293 GB, free: 13.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4668, allocations: 15.97 kB / 0.6293 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.4669, allocations: 62.72 kB / 0.6294 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4681, allocations: 124.5 kB / 0.6295 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.4687, allocations: 280.9 kB / 0.6297 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.4687, allocations: 24.81 kB / 0.6298 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.4688, allocations: 28.12 kB / 0.6298 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.47, allocations: 458.1 kB / 0.6302 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.47, allocations: 4 kB / 0.6302 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.47, allocations: 12 kB / 0.6302 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.47, allocations: 8 kB / 0.6303 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.4711, allocations: 365.3 kB / 0.6306 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.4746, allocations: 2.191 MB / 0.6327 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4757, allocations: 270.3 kB / 0.633 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.4759, allocations: 92.8 kB / 0.6331 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.4762, allocations: 95.91 kB / 0.6332 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.4763, allocations: 42.5 kB / 0.6332 GB, free: 9.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.4763, allocations: 0 / 0.6332 GB, free: 9.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001688/0.478, allocations: 445.1 kB / 0.6336 GB, free: 9.164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.478, allocations: 106.8 kB / 0.6337 GB, free: 9.035 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.4785, allocations: 324.7 kB / 0.6341 GB, free: 8.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4785, allocations: 37.7 kB / 0.6341 GB, free: 8.664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4787, allocations: 211.9 kB / 0.6343 GB, free: 8.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.4787, allocations: 47.67 kB / 0.6343 GB, free: 8.406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.4789, allocations: 53.66 kB / 0.6344 GB, free: 8.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4791, allocations: 342.8 kB / 0.6347 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.4794, allocations: 83.94 kB / 0.6348 GB, free: 7.922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.4798, allocations: 211.3 kB / 0.635 GB, free: 7.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.4804, allocations: 273.5 kB / 0.6353 GB, free: 7.344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4804, allocations: 0 / 0.6353 GB, free: 7.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007896/0.4812, allocations: 329.3 kB / 0.6356 GB, free: 7.016 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4812, allocations: 4 kB / 0.6356 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4812, allocations: 4.469 kB / 0.6356 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4813, allocations: 12 kB / 0.6356 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4815, allocations: 67.83 kB / 0.6357 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.4816, allocations: 7.984 kB / 0.6357 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.4818, allocations: 47.72 kB / 0.6357 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4819, allocations: 12 kB / 0.6357 GB, free: 6.863 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.0002208/0.4821, allocations: 157.7 kB / 0.6359 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.4822, allocations: 31.81 kB / 0.6359 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.4835, allocations: 0.7684 MB / 0.6367 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.4835, allocations: 7.922 kB / 0.6367 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4835, allocations: 4 kB / 0.6367 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4835, allocations: 7.984 kB / 0.6367 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.4843, allocations: 0.5056 MB / 0.6372 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4843, allocations: 0 / 0.6372 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.4846, allocations: 43.95 kB / 0.6372 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.4846, allocations: 4 kB / 0.6372 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4846, allocations: 0 / 0.6372 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4846, allocations: 3.938 kB / 0.6372 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4846, allocations: 0 / 0.6372 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.4854, allocations: 478.6 kB / 0.6377 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4855, allocations: 51.56 kB / 0.6377 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.4856, allocations: 27.73 kB / 0.6377 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4858, allocations: 23.92 kB / 0.6378 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.4859, allocations: 15.97 kB / 0.6378 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4859, allocations: 11.98 kB / 0.6378 GB, free: 4.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004289/0.4863, allocations: 338.9 kB / 0.6381 GB, free: 4.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4863, allocations: 0 / 0.6381 GB, free: 4.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002875/0.4892, allocations: 0.85 MB / 0.6389 GB, free: 3.477 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.006092/0.4953, allocations: 1.888 MB / 0.6408 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.496, allocations: 267.6 kB / 0.641 GB, free: 1.297 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4961, allocations: 0 / 0.641 GB, free: 1.297 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.4964, allocations: 136.9 kB / 0.6412 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.4973, allocations: 189 kB / 0.6414 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.5048, allocations: 4.037 MB / 0.6453 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.5054, allocations: 0.8461 MB / 0.6461 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003762/0.5058, allocations: 144.8 kB / 0.6463 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.5061, allocations: 163.4 kB / 0.6464 GB, free: 11.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5061, allocations: 0 / 0.6464 GB, free: 11.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09739/0.6034, allocations: 39.46 MB / 0.685 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.77, allocations: 11.27 kB / 0.685 GB, free: 4.289 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.02672572992742]