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_KC.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.001389/0.001389, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001437/0.001437, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2216/0.2216, allocations: 44.92 MB / 358.8 MB, free: 6.266 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.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.003143/0.003143, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3396, allocations: 65.47 MB / 0.5571 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003617/0.3432, allocations: 2.048 MB / 0.5591 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3447, allocations: 0.9357 MB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.3448, allocations: 0 / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.345, allocations: 71.52 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.3454, allocations: 127.4 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3456, allocations: 91.7 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.3461, allocations: 390.1 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.3462, allocations: 12.94 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.3464, allocations: 159.2 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.3467, allocations: 187.1 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.3467, allocations: 12 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.347, allocations: 147.7 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3471, allocations: 99.45 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.3473, allocations: 162.9 kB / 0.5614 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.3478, allocations: 427.9 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3478, allocations: 4 kB / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3478, allocations: 0 / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3478, allocations: 0 / 0.5618 GB, free: 2.891 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001072/0.3489, allocations: 0.591 MB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.349, allocations: 8.031 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.3491, allocations: 78.72 kB / 0.5624 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.3491, allocations: 48.66 kB / 0.5625 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3495, allocations: 225.9 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3495, allocations: 29.36 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.3496, allocations: 36.36 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.3505, allocations: 0.5647 MB / 0.5633 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3505, allocations: 0 / 0.5633 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.3505, allocations: 19.92 kB / 0.5633 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.3506, allocations: 40.98 kB / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.3516, allocations: 0.5737 MB / 0.5639 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.3535, allocations: 1.132 MB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.3542, allocations: 363.5 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.3545, allocations: 140.8 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.3545, allocations: 7.984 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3545, allocations: 34.56 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.3545, allocations: 0 / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001023/0.3556, allocations: 467.3 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3556, allocations: 55.41 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.3562, allocations: 453.6 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3563, allocations: 33.7 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3564, allocations: 192.3 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.3565, allocations: 75.38 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3566, allocations: 49.69 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002783/0.3569, allocations: 350.8 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.3572, allocations: 123.8 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.3575, allocations: 119.9 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.358, allocations: 263.6 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.358, allocations: 0 / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007033/0.3587, allocations: 345.1 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.3588, allocations: 11.94 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3588, allocations: 0 / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3588, allocations: 4 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/0.3596, allocations: 155.9 kB / 0.5681 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.3634, allocations: 5.513 MB / 0.5735 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3636, allocations: 55.64 kB / 0.5736 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3637, allocations: 11.98 kB / 0.5736 GB, free: 6.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003143/0.364, allocations: 189.7 kB / 0.5738 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3641, allocations: 35.77 kB / 0.5738 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/0.365, allocations: 459.7 kB / 0.5742 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.365, allocations: 4 kB / 0.5742 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.365, allocations: 4 kB / 0.5742 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.365, allocations: 0 / 0.5742 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.3656, allocations: 352.3 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3656, allocations: 3.828 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.3663, allocations: 159.9 kB / 0.5747 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3663, allocations: 0 / 0.5747 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.3663, allocations: 12 kB / 0.5747 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.3698, allocations: 5.509 MB / 0.5801 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3698, allocations: 3.938 kB / 0.5801 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.3706, allocations: 447.2 kB / 0.5806 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3707, allocations: 43.69 kB / 0.5806 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.3707, allocations: 11.98 kB / 0.5806 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3709, allocations: 8 kB / 0.5806 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.371, allocations: 31.89 kB / 0.5806 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.371, allocations: 8 kB / 0.5807 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004053/0.3714, allocations: 339.1 kB / 0.581 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3714, allocations: 0 / 0.581 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.3719, allocations: 103.8 kB / 0.5811 GB, free: 14.44 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.3731, allocations: 1.011 MB / 0.5821 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3742, allocations: 395.5 kB / 0.5824 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3742, allocations: 0 / 0.5824 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008189/0.375, allocations: 274.9 kB / 0.5827 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3755, allocations: 93.03 kB / 0.5828 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006283/0.3818, allocations: 4.376 MB / 0.5871 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.3824, allocations: 0.8542 MB / 0.5879 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.3826, allocations: 79.22 kB / 0.588 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.3828, allocations: 111.4 kB / 0.5881 GB, free: 7.133 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3828, allocations: 4 kB / 0.5881 GB, free: 7.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.4263, allocations: 11.78 MB / 0.5996 GB, free: 11.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.53, allocations: 3.859 kB / 0.5996 GB, free: 11.57 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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: 16.78131531807594]