Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.001563/0.001563, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001607/0.001607, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2333/0.2333, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [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.002172/0.002172, allocations: 63.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4006, allocations: 65.47 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003609/0.4042, allocations: 2.046 MB / 0.5595 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.4063, allocations: 1.176 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.4064, allocations: 0 / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.4067, allocations: 63.61 kB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.4069, allocations: 99.36 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.4076, allocations: 203.3 kB / 0.561 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.4082, allocations: 438 kB / 0.5614 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.4082, allocations: 16.92 kB / 0.5614 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.4085, allocations: 167.1 kB / 0.5616 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.4088, allocations: 179 kB / 0.5617 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.4088, allocations: 12 kB / 0.5618 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.4092, allocations: 147.8 kB / 0.5619 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4093, allocations: 91.53 kB / 0.562 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.4095, allocations: 139.1 kB / 0.5621 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.4101, allocations: 0.4924 MB / 0.5626 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4101, allocations: 4 kB / 0.5626 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4101, allocations: 0 / 0.5626 GB, free: 2.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4102, allocations: 0 / 0.5626 GB, free: 2.223 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001331/0.4115, allocations: 0.6454 MB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4115, allocations: 8.031 kB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.412, allocations: 76.62 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.4125, allocations: 237.9 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.4125, allocations: 29.38 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.4126, allocations: 36.38 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.4137, allocations: 0.578 MB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4137, allocations: 4 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.4137, allocations: 12 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.4138, allocations: 24.98 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.4147, allocations: 427.6 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.4167, allocations: 1.153 MB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.4173, allocations: 267.5 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.4176, allocations: 134.5 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/0.4177, allocations: 11.98 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.4177, allocations: 34.5 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 3.085e-06/0.4177, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001203/0.4189, allocations: 443.9 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.419, allocations: 106.8 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.4193, allocations: 219.8 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4193, allocations: 25.7 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4195, allocations: 236 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.4196, allocations: 51.55 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4197, allocations: 53.7 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4199, allocations: 330.8 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.4202, allocations: 127.9 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.4206, allocations: 178 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.4213, allocations: 304.8 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4213, allocations: 0 / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008379/0.4221, allocations: 368.1 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4221, allocations: 4 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-05/0.4222, allocations: 35.98 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4222, allocations: 3.938 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.4224, allocations: 35.91 kB / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4224, allocations: 0 / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4226, allocations: 35.86 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.4227, allocations: 12.09 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002616/0.4229, allocations: 185.8 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.423, allocations: 15.91 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/0.4239, allocations: 366.5 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4239, allocations: 4 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4239, allocations: 0 / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4239, allocations: 4 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.4244, allocations: 281 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/0.4244, allocations: 31.94 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4246, allocations: 31.97 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4246, allocations: 0 / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.4246, allocations: 11.98 kB / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4246, allocations: 3.938 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4246, allocations: 0 / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.4255, allocations: 0.5563 MB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.4255, allocations: 23.86 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.4256, allocations: 3.938 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4258, allocations: 19.97 kB / 0.5701 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.4259, allocations: 15.98 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.4259, allocations: 15.98 kB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4261, allocations: 156.2 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4261, allocations: 3.938 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006338/0.4267, allocations: 143.4 kB / 0.5704 GB, free: 9.875 MB / 414.1 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004263/0.4271, allocations: 169.2 kB / 0.5706 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4282, allocations: 0.5105 MB / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4282, allocations: 0 / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.4287, allocations: 387.7 kB / 0.5715 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.4293, allocations: 32.42 kB / 0.5715 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.431, allocations: 0.763 MB / 0.5722 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4313, allocations: 246.7 kB / 0.5725 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.4314, allocations: 25.41 kB / 0.5725 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.4315, allocations: 23.42 kB / 0.5725 GB, free: 7.566 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4315, allocations: 0 / 0.5725 GB, free: 7.566 MB / 414.1 MB Notification: Performance of Templates: time 0.01116/0.4426, allocations: 5.229 MB / 0.5776 GB, free: 2.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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: 5.516341945156455]