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.001839/0.001839, allocations: 123 kB / 17.79 MB, free: 5.246 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.002309/0.002309, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.612/1.612, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.2483/0.2483, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.001969/0.001969, allocations: 67.88 kB / 0.4909 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 66 MB / 0.5554 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03476/0.1709, allocations: 30.36 MB / 0.585 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3187/0.4896, allocations: 15.59 MB / 0.6003 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.4899, allocations: 14.09 kB / 0.6003 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.4906, allocations: 215.6 kB / 0.6005 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.4912, allocations: 288.1 kB / 0.6007 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.5091, allocations: 5.642 MB / 0.6063 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.5109, allocations: 0.8201 MB / 0.6071 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.5114, allocations: 203.2 kB / 0.6073 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.5249, allocations: 5.504 MB / 0.6126 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.5256, allocations: 241.9 kB / 0.6129 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.5256, allocations: 30.34 kB / 0.6129 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/0.5382, allocations: 6.099 MB / 0.6188 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.5383, allocations: 92.55 kB / 0.6189 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.5387, allocations: 192.4 kB / 0.6191 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.5467, allocations: 3.668 MB / 0.6227 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5467, allocations: 0 / 0.6227 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5467, allocations: 1.031 kB / 0.6227 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.5468, allocations: 4 kB / 0.6227 GB, free: 15.5 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003412/0.5502, allocations: 1.031 MB / 0.6237 GB, free: 14.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5502, allocations: 13.08 kB / 0.6237 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.376e-05/0.5503, allocations: 59.8 kB / 0.6238 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.5513, allocations: 126.2 kB / 0.6239 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.5519, allocations: 340.6 kB / 0.6242 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.552, allocations: 20.5 kB / 0.6242 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.552, allocations: 28.84 kB / 0.6243 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5532, allocations: 453.1 kB / 0.6247 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5532, allocations: 0 / 0.6247 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.5533, allocations: 12.25 kB / 0.6247 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.5533, allocations: 7.281 kB / 0.6247 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5544, allocations: 378.3 kB / 0.6251 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.5582, allocations: 2.38 MB / 0.6274 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.5593, allocations: 271.7 kB / 0.6277 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.5596, allocations: 89.31 kB / 0.6277 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.5601, allocations: 485.2 kB / 0.6282 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5601, allocations: 31.94 kB / 0.6282 GB, free: 10.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.5601, allocations: 5.375 kB / 0.6282 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001819/0.562, allocations: 450 kB / 0.6287 GB, free: 10.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5621, allocations: 111.9 kB / 0.6288 GB, free: 10.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.5625, allocations: 325.3 kB / 0.6291 GB, free: 10.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.5626, allocations: 26.98 kB / 0.6291 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.5627, allocations: 210.2 kB / 0.6293 GB, free: 9.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.5628, allocations: 45.34 kB / 0.6294 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5629, allocations: 54.45 kB / 0.6294 GB, free: 9.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5631, allocations: 345.8 kB / 0.6297 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.5634, allocations: 81.19 kB / 0.6298 GB, free: 9.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.5638, allocations: 209.1 kB / 0.63 GB, free: 9.316 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.5645, allocations: 286 kB / 0.6303 GB, free: 9.082 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5645, allocations: 5.312 kB / 0.6303 GB, free: 9.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000792/0.5653, allocations: 312.4 kB / 0.6306 GB, free: 8.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5653, allocations: 6.875 kB / 0.6306 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5653, allocations: 2.75 kB / 0.6306 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5653, allocations: 5.5 kB / 0.6306 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.5656, allocations: 65.27 kB / 0.6307 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5656, allocations: 13.38 kB / 0.6307 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.5659, allocations: 56.48 kB / 0.6307 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.566, allocations: 15.97 kB / 0.6308 GB, free: 8.844 MB / 462.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.0001807/0.5661, allocations: 154.4 kB / 0.6309 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.5662, allocations: 33.41 kB / 0.6309 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5674, allocations: 0.7372 MB / 0.6317 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5674, allocations: 10.95 kB / 0.6317 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5674, allocations: 3.938 kB / 0.6317 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5674, allocations: 0 / 0.6317 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.5681, allocations: 0.5352 MB / 0.6322 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5681, allocations: 0 / 0.6322 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5683, allocations: 49.89 kB / 0.6322 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5683, allocations: 0 / 0.6322 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5683, allocations: 6.562 kB / 0.6322 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5684, allocations: 0 / 0.6322 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5684, allocations: 4.562 kB / 0.6322 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.5692, allocations: 468.2 kB / 0.6327 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5693, allocations: 122.7 kB / 0.6328 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.5694, allocations: 22.06 kB / 0.6328 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5696, allocations: 16.23 kB / 0.6328 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.5697, allocations: 25.62 kB / 0.6329 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.5697, allocations: 3.75 kB / 0.6329 GB, free: 7.293 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.5701, allocations: 350.2 kB / 0.6332 GB, free: 7.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5701, allocations: 0 / 0.6332 GB, free: 7.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004303/0.5744, allocations: 0.8526 MB / 0.634 GB, free: 6.93 MB / 462.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.006501/0.5809, allocations: 1.889 MB / 0.6359 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008065/0.5818, allocations: 261.2 kB / 0.6361 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.5818, allocations: 6.906 kB / 0.6361 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.582, allocations: 130.9 kB / 0.6363 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5831, allocations: 185.3 kB / 0.6364 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/0.59, allocations: 4.025 MB / 0.6404 GB, free: 2.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.5905, allocations: 0.8383 MB / 0.6412 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.5909, allocations: 149.7 kB / 0.6413 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5911, allocations: 163.4 kB / 0.6415 GB, free: 1.586 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5911, allocations: 0 / 0.6415 GB, free: 1.586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08598/0.6771, allocations: 39.08 MB / 0.6797 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.25, allocations: 23.27 kB / 0.6797 GB, free: 10.62 MB / 0.4981 GB " [Timeout remaining time 649] (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: 14.813361441949382]