Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.001335/0.001335, allocations: 110 kB / 20.43 MB, free: 1.453 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.001591/0.001591, allocations: 210.6 kB / 23.74 MB, free: 4.66 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2293/0.2293, allocations: 46.92 MB / 360.8 MB, free: 4.188 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 83.88 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3186, allocations: 66.09 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003412/0.322, allocations: 2.034 MB / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3235, allocations: 0.9512 MB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.3236, allocations: 0 / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3239, allocations: 63.64 kB / 0.5637 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.3242, allocations: 127.4 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3245, allocations: 95.58 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.3249, allocations: 386.2 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.325, allocations: 20.86 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.3252, allocations: 155.2 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.3255, allocations: 187.1 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.3255, allocations: 12 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.3258, allocations: 143.8 kB / 0.5648 GB, free: 108 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3259, allocations: 99.47 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.326, allocations: 155 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.3266, allocations: 439.8 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3266, allocations: 0 / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3266, allocations: 0 / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3266, allocations: 0 / 0.5655 GB, free: 15.42 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001038/0.3276, allocations: 0.591 MB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3277, allocations: 12.03 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.555e-05/0.3278, allocations: 82.7 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.3278, allocations: 44.66 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3282, allocations: 225.9 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3282, allocations: 29.38 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.3283, allocations: 40.3 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/0.3291, allocations: 0.5569 MB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3292, allocations: 3.938 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3292, allocations: 12 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.3292, allocations: 40.98 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009796/0.3302, allocations: 0.5815 MB / 0.5676 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.332, allocations: 1.128 MB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.3327, allocations: 366.2 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.333, allocations: 132.8 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.333, allocations: 12 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.333, allocations: 34.56 kB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.333, allocations: 0 / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009684/0.334, allocations: 457 kB / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3341, allocations: 59.39 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.3346, allocations: 453.6 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.3346, allocations: 29.7 kB / 0.5702 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3347, allocations: 192.3 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.3348, allocations: 83.3 kB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.3349, allocations: 49.7 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3351, allocations: 354.7 kB / 0.5709 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.3353, allocations: 119.9 kB / 0.571 GB, free: 9.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3356, allocations: 122.9 kB / 0.5711 GB, free: 9.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.3361, allocations: 260.6 kB / 0.5713 GB, free: 9.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3361, allocations: 0 / 0.5713 GB, free: 9.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006269/0.3367, allocations: 344.5 kB / 0.5717 GB, free: 8.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3367, allocations: 7.938 kB / 0.5717 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3367, allocations: 0 / 0.5717 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3367, allocations: 4 kB / 0.5717 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.3375, allocations: 155.9 kB / 0.5718 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.3408, allocations: 5.512 MB / 0.5772 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.341, allocations: 59.84 kB / 0.5773 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.341, allocations: 15.92 kB / 0.5773 GB, free: 2.926 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.0002283/0.3413, allocations: 191 kB / 0.5775 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.3413, allocations: 35.77 kB / 0.5775 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/0.3422, allocations: 464.5 kB / 0.5779 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3422, allocations: 0 / 0.5779 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3422, allocations: 0 / 0.5779 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3422, allocations: 4 kB / 0.578 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3427, allocations: 352.3 kB / 0.5783 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3427, allocations: 7.984 kB / 0.5783 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.3434, allocations: 151.9 kB / 0.5784 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3434, allocations: 0 / 0.5784 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3435, allocations: 8 kB / 0.5784 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.3469, allocations: 5.516 MB / 0.5838 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3469, allocations: 3.938 kB / 0.5838 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.3477, allocations: 446.6 kB / 0.5843 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3478, allocations: 47.69 kB / 0.5843 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.3478, allocations: 7.984 kB / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.348, allocations: 8 kB / 0.5843 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.3481, allocations: 23.91 kB / 0.5843 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3481, allocations: 11.98 kB / 0.5844 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.3485, allocations: 335.1 kB / 0.5847 GB, free: 11.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3485, allocations: 3.938 kB / 0.5847 GB, free: 11.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000407/0.3489, allocations: 103.8 kB / 0.5848 GB, free: 10.97 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.001181/0.3501, allocations: 1.013 MB / 0.5858 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3512, allocations: 391.6 kB / 0.5861 GB, free: 9.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3512, allocations: 0 / 0.5861 GB, free: 9.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007929/0.352, allocations: 275.6 kB / 0.5864 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.3525, allocations: 92.31 kB / 0.5865 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.3583, allocations: 4.378 MB / 0.5908 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.3588, allocations: 0.8465 MB / 0.5916 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.3591, allocations: 83.22 kB / 0.5917 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3592, allocations: 107.4 kB / 0.5918 GB, free: 3.668 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3592, allocations: 4 kB / 0.5918 GB, free: 3.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.4008, allocations: 11.78 MB / 0.6033 GB, free: 8.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.25, allocations: 19.88 kB / 0.6033 GB, free: 8.02 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.5036589698866]