Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001698/0.001698, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002172/0.002172, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.92 MB / 358.8 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 75.88 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3509, allocations: 65.47 MB / 0.557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04035/0.3913, allocations: 30.62 MB / 0.5869 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4133, allocations: 15.68 MB / 0.6022 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.4138, allocations: 11.88 kB / 0.6023 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.4146, allocations: 222.6 kB / 0.6025 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.4154, allocations: 266.4 kB / 0.6027 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01568/0.4311, allocations: 5.669 MB / 0.6083 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.4324, allocations: 0.8343 MB / 0.6091 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.4329, allocations: 189 kB / 0.6092 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.4457, allocations: 5.514 MB / 0.6146 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.4463, allocations: 254.9 kB / 0.6149 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.4464, allocations: 28 kB / 0.6149 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.4588, allocations: 6.107 MB / 0.6209 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.459, allocations: 91.62 kB / 0.621 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.4593, allocations: 187.2 kB / 0.6211 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008008/0.4673, allocations: 3.679 MB / 0.6247 GB, free: 2.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4673, allocations: 0 / 0.6247 GB, free: 2.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4673, allocations: 4 kB / 0.6247 GB, free: 2.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.4673, allocations: 4 kB / 0.6247 GB, free: 2.195 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.002593/0.4699, allocations: 0.9469 MB / 0.6257 GB, free: 1.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4699, allocations: 12.03 kB / 0.6257 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.563e-05/0.47, allocations: 62.72 kB / 0.6257 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.4711, allocations: 120.6 kB / 0.6258 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.4717, allocations: 277 kB / 0.6261 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.4717, allocations: 28.88 kB / 0.6261 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.4718, allocations: 31.12 kB / 0.6262 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.473, allocations: 450.1 kB / 0.6266 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.473, allocations: 0 / 0.6266 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.4731, allocations: 12 kB / 0.6266 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.4731, allocations: 11.98 kB / 0.6266 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.4743, allocations: 369.3 kB / 0.627 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.4777, allocations: 2.191 MB / 0.6291 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4788, allocations: 278.2 kB / 0.6294 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.479, allocations: 88.73 kB / 0.6295 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.4793, allocations: 103.9 kB / 0.6296 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.4794, allocations: 42.5 kB / 0.6296 GB, free: 12.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.404e-06/0.4794, allocations: 0 / 0.6296 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001759/0.4811, allocations: 445.1 kB / 0.63 GB, free: 12.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.4812, allocations: 111 kB / 0.6301 GB, free: 12.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.4816, allocations: 320.5 kB / 0.6304 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4817, allocations: 29.64 kB / 0.6305 GB, free: 11.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.4818, allocations: 215.9 kB / 0.6307 GB, free: 11.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.4819, allocations: 39.69 kB / 0.6307 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.482, allocations: 65.64 kB / 0.6308 GB, free: 11.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4822, allocations: 334.8 kB / 0.6311 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.4824, allocations: 87.88 kB / 0.6312 GB, free: 11.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.4828, allocations: 207.4 kB / 0.6314 GB, free: 10.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.4835, allocations: 277.5 kB / 0.6316 GB, free: 10.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.4835, allocations: 7.938 kB / 0.6316 GB, free: 10.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007935/0.4843, allocations: 317 kB / 0.6319 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4843, allocations: 11.94 kB / 0.632 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4843, allocations: 7.984 kB / 0.632 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4843, allocations: 4 kB / 0.632 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.4846, allocations: 59.91 kB / 0.632 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4846, allocations: 8.453 kB / 0.632 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.4849, allocations: 43.77 kB / 0.6321 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.4849, allocations: 16 kB / 0.6321 GB, free: 10.18 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.0001883/0.4851, allocations: 157.6 kB / 0.6322 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.4852, allocations: 39.69 kB / 0.6323 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4864, allocations: 0.7683 MB / 0.633 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4865, allocations: 8 kB / 0.633 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4865, allocations: 0 / 0.633 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4865, allocations: 3.984 kB / 0.633 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.4871, allocations: 0.5057 MB / 0.6335 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4871, allocations: 0 / 0.6335 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.4873, allocations: 43.95 kB / 0.6336 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4874, allocations: 3.938 kB / 0.6336 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4874, allocations: 8 kB / 0.6336 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4874, allocations: 7.922 kB / 0.6336 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4874, allocations: 0 / 0.6336 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.4882, allocations: 473.9 kB / 0.634 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.4883, allocations: 47.52 kB / 0.6341 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.4883, allocations: 23.78 kB / 0.6341 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4885, allocations: 15.98 kB / 0.6341 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.4886, allocations: 19.95 kB / 0.6341 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4886, allocations: 8 kB / 0.6342 GB, free: 7.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.4891, allocations: 342.9 kB / 0.6345 GB, free: 7.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4891, allocations: 4 kB / 0.6345 GB, free: 7.641 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002352/0.4914, allocations: 0.85 MB / 0.6353 GB, free: 6.789 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.005029/0.4965, allocations: 1.907 MB / 0.6372 GB, free: 4.855 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007341/0.4972, allocations: 264.6 kB / 0.6374 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4972, allocations: 4 kB / 0.6374 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.4975, allocations: 135.9 kB / 0.6376 GB, free: 4.461 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/0.4985, allocations: 186.2 kB / 0.6377 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.5053, allocations: 4.029 MB / 0.6417 GB, free: 84 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.5058, allocations: 0.8422 MB / 0.6425 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.5062, allocations: 152.7 kB / 0.6426 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.5064, allocations: 159.4 kB / 0.6428 GB, free: 14.91 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5064, allocations: 0 / 0.6428 GB, free: 14.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/0.593, allocations: 39.47 MB / 0.6813 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.02, allocations: 14.81 kB / 0.6814 GB, free: 7.598 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.27835651487112]