Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.00169/0.00169, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002019/0.002019, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.533/1.533, allocations: 230.5 MB / 258.1 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.2305/0.2305, allocations: 46.94 MB / 361.6 MB, free: 3.914 MB / 286.1 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.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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 87.86 kB / 0.4974 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3312, allocations: 66.08 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003421/0.3346, allocations: 2.046 MB / 0.5639 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3366, allocations: 1.164 MB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.3367, allocations: 4 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.3369, allocations: 67.59 kB / 0.5651 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.3372, allocations: 91.38 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.3378, allocations: 219.1 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.3384, allocations: 434 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.3384, allocations: 16.94 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.3387, allocations: 163.2 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.339, allocations: 191 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.339, allocations: 12 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3393, allocations: 143.8 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3394, allocations: 91.53 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3396, allocations: 139.1 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.3402, allocations: 0.4884 MB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3402, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3402, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3402, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.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.001175/0.3414, allocations: 0.6531 MB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3414, allocations: 8.031 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.3418, allocations: 80.61 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.3422, allocations: 226.8 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3423, allocations: 33.36 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.3423, allocations: 36.38 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.3433, allocations: 0.5819 MB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3433, allocations: 0 / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.3433, allocations: 16 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.483e-05/0.3434, allocations: 17 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.3442, allocations: 431.5 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3461, allocations: 1.153 MB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.3466, allocations: 263.6 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.347, allocations: 130.5 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.347, allocations: 7.938 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.347, allocations: 46.61 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.502e-06/0.347, allocations: 0 / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001216/0.3482, allocations: 431.7 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.3483, allocations: 119 kB / 0.5712 GB, free: 10.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.3486, allocations: 215.7 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3486, allocations: 25.7 kB / 0.5714 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3488, allocations: 240 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.3488, allocations: 55.55 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.3489, allocations: 49.7 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3491, allocations: 326.8 kB / 0.572 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.3495, allocations: 127.9 kB / 0.5721 GB, free: 9.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.3498, allocations: 174.9 kB / 0.5723 GB, free: 9.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.3505, allocations: 296.8 kB / 0.5726 GB, free: 8.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3505, allocations: 4 kB / 0.5726 GB, free: 8.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008536/0.3514, allocations: 361.1 kB / 0.5729 GB, free: 8.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3514, allocations: 8 kB / 0.573 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/0.3515, allocations: 24 kB / 0.573 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3515, allocations: 8.094 kB / 0.573 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3517, allocations: 43.89 kB / 0.573 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3517, allocations: 7.984 kB / 0.573 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3519, allocations: 31.81 kB / 0.5731 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3519, allocations: 19.98 kB / 0.5731 GB, free: 8.262 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.0002013/0.3521, allocations: 181.7 kB / 0.5733 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.3522, allocations: 15.91 kB / 0.5733 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.353, allocations: 365.4 kB / 0.5736 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.353, allocations: 7.984 kB / 0.5736 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.353, allocations: 0 / 0.5736 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.353, allocations: 3.984 kB / 0.5736 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.3535, allocations: 281.1 kB / 0.5739 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001004/0.3536, allocations: 35.92 kB / 0.5739 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3538, allocations: 23.97 kB / 0.574 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3538, allocations: 4 kB / 0.574 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3538, allocations: 4 kB / 0.574 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.3538, allocations: 15.88 kB / 0.574 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3538, allocations: 0 / 0.574 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.3547, allocations: 0.5485 MB / 0.5745 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3547, allocations: 23.84 kB / 0.5745 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3548, allocations: 7.938 kB / 0.5745 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.355, allocations: 15.98 kB / 0.5746 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.3551, allocations: 27.97 kB / 0.5746 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3551, allocations: 8 kB / 0.5746 GB, free: 6.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3553, allocations: 152.2 kB / 0.5747 GB, free: 6.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3553, allocations: 7.938 kB / 0.5747 GB, free: 6.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.3558, allocations: 143.4 kB / 0.5749 GB, free: 6.355 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.0002993/0.3561, allocations: 165.3 kB / 0.575 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009012/0.357, allocations: 0.5148 MB / 0.5755 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.357, allocations: 4.062 kB / 0.5755 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.3575, allocations: 379.1 kB / 0.5759 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.358, allocations: 31.27 kB / 0.5759 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3595, allocations: 0.7883 MB / 0.5767 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3598, allocations: 238.7 kB / 0.5769 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.3599, allocations: 19.42 kB / 0.577 GB, free: 4.062 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3599, allocations: 3.938 kB / 0.577 GB, free: 4.059 MB / 414.1 MB Notification: Performance of Templates: time 0.009027/0.3689, allocations: 5.615 MB / 0.5824 GB, free: 14.45 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.919628676958382]