Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.001001/0.001001, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002292, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006859/0.0006859, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000877/0.001563, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9483/0.9483, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.041, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.2455/0.2455, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02649/0.272, allocations: 13.25 MB / 292.8 MB, free: 6.395 MB / 282.7 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.822e-05, allocations: 5.531 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003045/0.003063, allocations: 2.315 MB / 296.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.004851, allocations: 1.177 MB / 297.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.004983, allocations: 0 / 297.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.005194, allocations: 71.53 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.005428, allocations: 115.2 kB / 297.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.005884, allocations: 199.1 kB / 298 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.006399, allocations: 0.5287 MB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.006464, allocations: 21.27 kB / 298.5 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.006798, allocations: 247.9 kB / 298.8 MB, free: 400 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.00701, allocations: 171.4 kB / 298.9 MB, free: 228 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.007045, allocations: 16 kB / 299 MB, free: 212 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.007359, allocations: 151.7 kB / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.007469, allocations: 75.8 kB / 299.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.007578, allocations: 87.75 kB / 299.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.008096, allocations: 470.2 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.008105, allocations: 4 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008106, allocations: 0 / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.008117, allocations: 0 / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008902/0.009007, allocations: 0.7111 MB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.009041, allocations: 12.91 kB / 300.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.009376, allocations: 178 kB / 300.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.009634, allocations: 205.1 kB / 300.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.009662, allocations: 33.38 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.009716, allocations: 56.11 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.01023, allocations: 411.2 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01024, allocations: 0 / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.01027, allocations: 23.94 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.01031, allocations: 21 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.01054, allocations: 168.5 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01174, allocations: 1.011 MB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.01194, allocations: 170 kB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.01201, allocations: 34.56 kB / 302.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.01205, allocations: 15.94 kB / 302.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01207, allocations: 38.5 kB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.01208, allocations: 0 / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003409/0.01242, allocations: 119 kB / 302.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.01246, allocations: 110.8 kB / 303 MB, free: 11.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01262, allocations: 233 kB / 303.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.01264, allocations: 29.7 kB / 303.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01276, allocations: 252.3 kB / 303.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.0128, allocations: 67.42 kB / 303.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01291, allocations: 69.89 kB / 303.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.01299, allocations: 338.7 kB / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.01307, allocations: 35.09 kB / 304 MB, free: 10.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.01321, allocations: 159.8 kB / 304.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01348, allocations: 230.5 kB / 304.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.01348, allocations: 4 kB / 304.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000315/0.0138, allocations: 201.5 kB / 304.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01381, allocations: 4 kB / 304.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/0.01387, allocations: 28.52 kB / 304.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01388, allocations: 8 kB / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.01401, allocations: 39.91 kB / 304.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01402, allocations: 7.938 kB / 304.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.01416, allocations: 47.64 kB / 304.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.01419, allocations: 16 kB / 304.7 MB, free: 10.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001357/0.01433, allocations: 148.5 kB / 304.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.0144, allocations: 19.98 kB / 304.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.01476, allocations: 202.1 kB / 305.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.01477, allocations: 4 kB / 305.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01477, allocations: 8 kB / 305.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01477, allocations: 0 / 305.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.01512, allocations: 193.4 kB / 305.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.888e-05/0.01517, allocations: 23.98 kB / 305.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.01524, allocations: 19.97 kB / 305.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.01527, allocations: 23.8 kB / 305.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01528, allocations: 4 kB / 305.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01529, allocations: 4 kB / 305.4 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.0153, allocations: 7.984 kB / 305.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0153, allocations: 0 / 305.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.01559, allocations: 409.1 kB / 305.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.01562, allocations: 4 kB / 305.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.01579, allocations: 8 kB / 305.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.01585, allocations: 15.97 kB / 305.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.01587, allocations: 15.98 kB / 305.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.01593, allocations: 70.78 kB / 305.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01593, allocations: 0 / 305.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.0164, allocations: 163.4 kB / 306.1 MB, free: 8.691 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002606/0.01666, allocations: 140.8 kB / 306.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.01705, allocations: 453.3 kB / 306.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.01706, allocations: 4 kB / 306.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.01735, allocations: 409.9 kB / 307 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.01788, allocations: 360.6 kB / 307.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.02165, allocations: 0.7572 MB / 308.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02175, allocations: 132.7 kB / 308.3 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.455e-05/0.02184, allocations: 21.89 kB / 308.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.02209, allocations: 147.3 kB / 308.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02209, allocations: 0 / 308.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of Templates: time 0.009043/0.03113, allocations: 5.852 MB / 314.3 MB, free: 248 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.94193456787616]