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.001324/0.001324, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001472/0.001472, allocations: 205.7 kB / 23.72 MB, free: 4.391 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2267/0.2267, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.002696/0.002696, allocations: 79.88 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3531, allocations: 66.07 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003542/0.3566, allocations: 1.96 MB / 0.5626 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3582, allocations: 0.8501 MB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.3583, allocations: 4 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3586, allocations: 59.67 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.359, allocations: 131.4 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.3593, allocations: 87.64 kB / 0.5637 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.3597, allocations: 386.1 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.149e-05/0.3598, allocations: 16.92 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3601, allocations: 155.2 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.3603, allocations: 191 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.3604, allocations: 8 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3606, allocations: 75.84 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3607, allocations: 99.47 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3609, allocations: 135.2 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.3614, allocations: 411.9 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3614, allocations: 4 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3614, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3614, allocations: 4 kB / 0.5651 GB, free: 15.46 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.001098/0.3625, allocations: 0.5871 MB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3626, allocations: 8.031 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.3627, allocations: 86.69 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.274e-05/0.3628, allocations: 44.66 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.3632, allocations: 225.9 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3632, allocations: 25.38 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.3633, allocations: 44.3 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.3642, allocations: 0.5569 MB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3642, allocations: 0 / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.3643, allocations: 16 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.3643, allocations: 40.97 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3654, allocations: 0.5698 MB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.3674, allocations: 1.093 MB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.3681, allocations: 369.6 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.3684, allocations: 132.8 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.3684, allocations: 4 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3684, allocations: 34.56 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.3684, allocations: 0 / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001135/0.3696, allocations: 469 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3696, allocations: 59.41 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.3702, allocations: 449.6 kB / 0.5698 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3703, allocations: 25.7 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.3705, allocations: 196.3 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.3706, allocations: 71.38 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.3707, allocations: 57.69 kB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3709, allocations: 346.8 kB / 0.5705 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.3712, allocations: 119.9 kB / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3714, allocations: 119.2 kB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.3719, allocations: 268.6 kB / 0.571 GB, free: 9.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.372, allocations: 0 / 0.571 GB, free: 9.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006579/0.3726, allocations: 348.1 kB / 0.5713 GB, free: 8.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3726, allocations: 7.938 kB / 0.5713 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3726, allocations: 4 kB / 0.5713 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3727, allocations: 0 / 0.5713 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.3734, allocations: 155.9 kB / 0.5714 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003873/0.3773, allocations: 5.524 MB / 0.5768 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3775, allocations: 51.58 kB / 0.5769 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.3775, allocations: 15.98 kB / 0.5769 GB, free: 3.02 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.0002317/0.3777, allocations: 185.7 kB / 0.5771 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.3778, allocations: 35.77 kB / 0.5771 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009767/0.3788, allocations: 456.5 kB / 0.5776 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3788, allocations: 8 kB / 0.5776 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3788, allocations: 8.031 kB / 0.5776 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3788, allocations: 0 / 0.5776 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.3793, allocations: 332.4 kB / 0.5779 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3793, allocations: 4 kB / 0.5779 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.3799, allocations: 159.9 kB / 0.578 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3799, allocations: 0 / 0.578 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.38, allocations: 11.98 kB / 0.5781 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.3839, allocations: 5.508 MB / 0.5834 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3839, allocations: 4.594 kB / 0.5834 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.3846, allocations: 458.9 kB / 0.5839 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3848, allocations: 43.69 kB / 0.5839 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.3848, allocations: 0 / 0.5839 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.385, allocations: 11.98 kB / 0.5839 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3851, allocations: 23.91 kB / 0.584 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.3851, allocations: 12 kB / 0.584 GB, free: 11.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004386/0.3856, allocations: 339.1 kB / 0.5843 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3856, allocations: 0 / 0.5843 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.3859, allocations: 103.8 kB / 0.5844 GB, free: 11.08 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.001273/0.3872, allocations: 1.004 MB / 0.5854 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.3884, allocations: 407.5 kB / 0.5858 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3884, allocations: 3.938 kB / 0.5858 GB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.3892, allocations: 279.7 kB / 0.586 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.3898, allocations: 85.39 kB / 0.5861 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.396, allocations: 4.372 MB / 0.5904 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3963, allocations: 240.4 kB / 0.5906 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.3965, allocations: 87.2 kB / 0.5907 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3967, allocations: 119.4 kB / 0.5908 GB, free: 4.383 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3967, allocations: 3.938 kB / 0.5908 GB, free: 4.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.4413, allocations: 12.91 MB / 0.6034 GB, free: 7.719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.17, allocations: 7.875 kB / 0.6034 GB, free: 7.711 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.38591923005879]