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.001441/0.001441, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001755/0.001755, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2436/0.2436, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.00211/0.00211, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3287, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03581/0.3645, allocations: 27.69 MB / 0.5876 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.3844, allocations: 13.83 MB / 0.6011 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.3849, allocations: 15.81 kB / 0.6012 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008493/0.3857, allocations: 202.7 kB / 0.6014 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008705/0.3866, allocations: 278.4 kB / 0.6016 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01736/0.4039, allocations: 5.587 MB / 0.6071 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.4053, allocations: 0.8382 MB / 0.6079 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.4057, allocations: 189 kB / 0.6081 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.417, allocations: 5.485 MB / 0.6134 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.4176, allocations: 242.8 kB / 0.6137 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.4176, allocations: 32 kB / 0.6137 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.4293, allocations: 5.842 MB / 0.6194 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.4295, allocations: 87.62 kB / 0.6195 GB, free: 7.688 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.4298, allocations: 155.4 kB / 0.6196 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.44, allocations: 3.679 MB / 0.6232 GB, free: 3.848 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.44, allocations: 4 kB / 0.6232 GB, free: 3.844 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.44, allocations: 4 kB / 0.6232 GB, free: 3.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.44, allocations: 0 / 0.6232 GB, free: 3.84 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.002883/0.4429, allocations: 0.9431 MB / 0.6241 GB, free: 2.863 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4429, allocations: 8.031 kB / 0.6242 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.797e-05/0.443, allocations: 66.72 kB / 0.6242 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.444, allocations: 120.6 kB / 0.6243 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.4446, allocations: 288.8 kB / 0.6246 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.4447, allocations: 24.88 kB / 0.6246 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.4447, allocations: 28.12 kB / 0.6247 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4461, allocations: 0.5941 MB / 0.6252 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4461, allocations: 0 / 0.6252 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.4461, allocations: 12 kB / 0.6253 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.4462, allocations: 8 kB / 0.6253 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4473, allocations: 369.2 kB / 0.6256 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.4505, allocations: 1.773 MB / 0.6273 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000995/0.4515, allocations: 262.3 kB / 0.6276 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.4518, allocations: 97 kB / 0.6277 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.452, allocations: 107.9 kB / 0.6278 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.4521, allocations: 34.55 kB / 0.6278 GB, free: 14.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.4521, allocations: 0 / 0.6278 GB, free: 14.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001739/0.4538, allocations: 453.1 kB / 0.6283 GB, free: 14.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.4539, allocations: 106.8 kB / 0.6284 GB, free: 14.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.4543, allocations: 336.3 kB / 0.6287 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4544, allocations: 33.7 kB / 0.6287 GB, free: 13.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.4545, allocations: 215.8 kB / 0.6289 GB, free: 13.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.4546, allocations: 39.69 kB / 0.629 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.4547, allocations: 61.64 kB / 0.629 GB, free: 13.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4548, allocations: 338.8 kB / 0.6293 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.4551, allocations: 87.86 kB / 0.6294 GB, free: 13.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.4555, allocations: 250.8 kB / 0.6297 GB, free: 12.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.4561, allocations: 277.4 kB / 0.6299 GB, free: 12.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4561, allocations: 4 kB / 0.6299 GB, free: 12.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000766/0.4569, allocations: 325.8 kB / 0.6302 GB, free: 12.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4569, allocations: 8.062 kB / 0.6302 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4569, allocations: 4 kB / 0.6302 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4569, allocations: 4 kB / 0.6303 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.4572, allocations: 71.83 kB / 0.6303 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4572, allocations: 7.938 kB / 0.6303 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.4574, allocations: 39.77 kB / 0.6304 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.4575, allocations: 15.98 kB / 0.6304 GB, free: 12.07 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.0001814/0.4576, allocations: 153.8 kB / 0.6305 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.4577, allocations: 27.81 kB / 0.6306 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.459, allocations: 0.7878 MB / 0.6313 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.459, allocations: 11.92 kB / 0.6313 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.459, allocations: 4 kB / 0.6313 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.459, allocations: 0 / 0.6313 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.4596, allocations: 485.8 kB / 0.6318 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4596, allocations: 0 / 0.6318 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4598, allocations: 43.89 kB / 0.6318 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4598, allocations: 4 kB / 0.6318 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4598, allocations: 4 kB / 0.6319 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4598, allocations: 3.938 kB / 0.6319 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4598, allocations: 4 kB / 0.6319 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.4606, allocations: 470.6 kB / 0.6323 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.4607, allocations: 39.69 kB / 0.6323 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.4607, allocations: 31.73 kB / 0.6324 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.461, allocations: 15.92 kB / 0.6324 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.461, allocations: 23.97 kB / 0.6324 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.461, allocations: 15.86 kB / 0.6324 GB, free: 9.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.4614, allocations: 342.9 kB / 0.6328 GB, free: 9.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4614, allocations: 0 / 0.6328 GB, free: 9.559 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002393/0.4638, allocations: 0.8461 MB / 0.6336 GB, free: 8.711 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.004747/0.4686, allocations: 1.895 MB / 0.6354 GB, free: 6.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007896/0.4694, allocations: 268.2 kB / 0.6357 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.4694, allocations: 4 kB / 0.6357 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.4697, allocations: 139.9 kB / 0.6358 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4707, allocations: 177.8 kB / 0.636 GB, free: 6.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.4774, allocations: 4.037 MB / 0.6399 GB, free: 2.008 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4776, allocations: 243.7 kB / 0.6402 GB, free: 1.742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.478, allocations: 148.4 kB / 0.6403 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.4783, allocations: 159.4 kB / 0.6405 GB, free: 1.441 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4783, allocations: 0 / 0.6405 GB, free: 1.441 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09673/0.575, allocations: 40.24 MB / 0.6798 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.64, allocations: 8.688 kB / 0.6798 GB, free: 9.449 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.044573782011867]